pub struct BlockIndex(/* private fields */);
Implementations§
Source§impl BlockIndex
impl BlockIndex
Trait Implementations§
Source§impl Add<u32> for BlockIndex
impl Add<u32> for BlockIndex
Source§impl Add for BlockIndex
impl Add for BlockIndex
Source§impl AddAssign<u32> for BlockIndex
impl AddAssign<u32> for BlockIndex
Source§fn add_assign(&mut self, other: u32)
fn add_assign(&mut self, other: u32)
Performs the
+=
operation. Read moreSource§impl AddAssign for BlockIndex
impl AddAssign for BlockIndex
Source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+=
operation. Read moreSource§impl BitXor for BlockIndex
impl BitXor for BlockIndex
Source§impl Clone for BlockIndex
impl Clone for BlockIndex
Source§fn clone(&self) -> BlockIndex
fn clone(&self) -> BlockIndex
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BlockIndex
impl Debug for BlockIndex
Source§impl Deref for BlockIndex
impl Deref for BlockIndex
Source§impl Display for BlockIndex
impl Display for BlockIndex
Source§impl From<&BlockIndex> for usize
impl From<&BlockIndex> for usize
Source§fn from(idx: &BlockIndex) -> usize
fn from(idx: &BlockIndex) -> usize
Converts to this type from the input type.
Source§impl From<&u32> for BlockIndex
impl From<&u32> for BlockIndex
Source§fn from(idx: &u32) -> BlockIndex
fn from(idx: &u32) -> BlockIndex
Converts to this type from the input type.
Source§impl From<BlockIndex> for usize
impl From<BlockIndex> for usize
Source§fn from(idx: BlockIndex) -> usize
fn from(idx: BlockIndex) -> usize
Converts to this type from the input type.
Source§impl From<u32> for BlockIndex
impl From<u32> for BlockIndex
Source§fn from(idx: u32) -> BlockIndex
fn from(idx: u32) -> BlockIndex
Converts to this type from the input type.
Source§impl Hash for BlockIndex
impl Hash for BlockIndex
Source§impl Ord for BlockIndex
impl Ord for BlockIndex
Source§fn cmp(&self, other: &BlockIndex) -> Ordering
fn cmp(&self, other: &BlockIndex) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BlockIndex
impl PartialEq for BlockIndex
Source§impl PartialOrd for BlockIndex
impl PartialOrd for BlockIndex
Source§impl Sub<u32> for BlockIndex
impl Sub<u32> for BlockIndex
Source§impl Sub for BlockIndex
impl Sub for BlockIndex
Source§impl SubAssign<u32> for BlockIndex
impl SubAssign<u32> for BlockIndex
Source§fn sub_assign(&mut self, other: u32)
fn sub_assign(&mut self, other: u32)
Performs the
-=
operation. Read moreSource§impl SubAssign for BlockIndex
impl SubAssign for BlockIndex
Source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
Performs the
-=
operation. Read moreimpl Copy for BlockIndex
impl Eq for BlockIndex
impl StructuralPartialEq for BlockIndex
Auto Trait Implementations§
impl Freeze for BlockIndex
impl RefUnwindSafe for BlockIndex
impl Send for BlockIndex
impl Sync for BlockIndex
impl Unpin for BlockIndex
impl UnwindSafe for BlockIndex
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)