Struct fuel_core_interfaces::model::BlockHeight
source · [−]#[repr(transparent)]pub struct BlockHeight(_);Implementations
Methods from Deref<Target = u32>
Trait Implementations
sourceimpl Add<BlockHeight> for BlockHeight
impl Add<BlockHeight> for BlockHeight
type Output = BlockHeight
type Output = BlockHeight
The resulting type after applying the
+ operator.sourcefn add(self, rhs: BlockHeight) -> BlockHeight
fn add(self, rhs: BlockHeight) -> BlockHeight
Performs the
+ operation. Read moresourceimpl Clone for BlockHeight
impl Clone for BlockHeight
sourcefn clone(&self) -> BlockHeight
fn clone(&self) -> BlockHeight
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for BlockHeight
impl Debug for BlockHeight
sourceimpl Default for BlockHeight
impl Default for BlockHeight
sourcefn default() -> BlockHeight
fn default() -> BlockHeight
Returns the “default value” for a type. Read more
sourceimpl Deref for BlockHeight
impl Deref for BlockHeight
sourceimpl Display for BlockHeight
impl Display for BlockHeight
sourceimpl From<BlockHeight> for Vec<u8>
impl From<BlockHeight> for Vec<u8>
sourcefn from(height: BlockHeight) -> Self
fn from(height: BlockHeight) -> Self
Converts to this type from the input type.
sourceimpl From<BlockHeight> for u32
impl From<BlockHeight> for u32
sourcefn from(original: BlockHeight) -> Self
fn from(original: BlockHeight) -> Self
Converts to this type from the input type.
sourceimpl From<BlockHeight> for u64
impl From<BlockHeight> for u64
sourcefn from(b: BlockHeight) -> Self
fn from(b: BlockHeight) -> Self
Converts to this type from the input type.
sourceimpl From<u32> for BlockHeight
impl From<u32> for BlockHeight
sourcefn from(original: u32) -> BlockHeight
fn from(original: u32) -> BlockHeight
Converts to this type from the input type.
sourceimpl From<u64> for BlockHeight
impl From<u64> for BlockHeight
sourceimpl From<usize> for BlockHeight
impl From<usize> for BlockHeight
sourceimpl Hash for BlockHeight
impl Hash for BlockHeight
sourceimpl PartialEq<BlockHeight> for BlockHeight
impl PartialEq<BlockHeight> for BlockHeight
sourcefn eq(&self, other: &BlockHeight) -> bool
fn eq(&self, other: &BlockHeight) -> bool
sourceimpl PartialOrd<BlockHeight> for BlockHeight
impl PartialOrd<BlockHeight> for BlockHeight
sourcefn partial_cmp(&self, other: &BlockHeight) -> Option<Ordering>
fn partial_cmp(&self, other: &BlockHeight) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresourceimpl Sub<BlockHeight> for BlockHeight
impl Sub<BlockHeight> for BlockHeight
type Output = BlockHeight
type Output = BlockHeight
The resulting type after applying the
- operator.sourcefn sub(self, rhs: BlockHeight) -> BlockHeight
fn sub(self, rhs: BlockHeight) -> BlockHeight
Performs the
- operation. Read moreimpl Copy for BlockHeight
impl Eq for BlockHeight
impl StructuralEq for BlockHeight
impl StructuralPartialEq for BlockHeight
Auto Trait Implementations
impl RefUnwindSafe for BlockHeight
impl Send for BlockHeight
impl Sync for BlockHeight
impl Unpin for BlockHeight
impl UnwindSafe for BlockHeight
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more