Struct fuel_core_interfaces::model::DaBlockHeight
source · [−]pub struct DaBlockHeight(pub u64);Tuple Fields
0: u64Implementations
Methods from Deref<Target = u64>
Trait Implementations
sourceimpl Add<DaBlockHeight> for DaBlockHeight
impl Add<DaBlockHeight> for DaBlockHeight
type Output = DaBlockHeight
type Output = DaBlockHeight
The resulting type after applying the
+ operator.sourcefn add(self, rhs: DaBlockHeight) -> DaBlockHeight
fn add(self, rhs: DaBlockHeight) -> DaBlockHeight
Performs the
+ operation. Read moresourceimpl Add<u64> for DaBlockHeight
impl Add<u64> for DaBlockHeight
sourceimpl Clone for DaBlockHeight
impl Clone for DaBlockHeight
sourcefn clone(&self) -> DaBlockHeight
fn clone(&self) -> DaBlockHeight
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 DaBlockHeight
impl Debug for DaBlockHeight
sourceimpl Default for DaBlockHeight
impl Default for DaBlockHeight
sourcefn default() -> DaBlockHeight
fn default() -> DaBlockHeight
Returns the “default value” for a type. Read more
sourceimpl Deref for DaBlockHeight
impl Deref for DaBlockHeight
sourceimpl Display for DaBlockHeight
impl Display for DaBlockHeight
sourceimpl From<DaBlockHeight> for Vec<u8>
impl From<DaBlockHeight> for Vec<u8>
sourcefn from(height: DaBlockHeight) -> Self
fn from(height: DaBlockHeight) -> Self
Converts to this type from the input type.
sourceimpl From<DaBlockHeight> for u64
impl From<DaBlockHeight> for u64
sourcefn from(original: DaBlockHeight) -> Self
fn from(original: DaBlockHeight) -> Self
Converts to this type from the input type.
sourceimpl From<u64> for DaBlockHeight
impl From<u64> for DaBlockHeight
sourcefn from(original: u64) -> DaBlockHeight
fn from(original: u64) -> DaBlockHeight
Converts to this type from the input type.
sourceimpl From<usize> for DaBlockHeight
impl From<usize> for DaBlockHeight
sourceimpl Hash for DaBlockHeight
impl Hash for DaBlockHeight
sourceimpl Ord for DaBlockHeight
impl Ord for DaBlockHeight
sourcefn cmp(&self, other: &DaBlockHeight) -> Ordering
fn cmp(&self, other: &DaBlockHeight) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<DaBlockHeight> for DaBlockHeight
impl PartialEq<DaBlockHeight> for DaBlockHeight
sourcefn eq(&self, other: &DaBlockHeight) -> bool
fn eq(&self, other: &DaBlockHeight) -> bool
sourceimpl PartialOrd<DaBlockHeight> for DaBlockHeight
impl PartialOrd<DaBlockHeight> for DaBlockHeight
sourcefn partial_cmp(&self, other: &DaBlockHeight) -> Option<Ordering>
fn partial_cmp(&self, other: &DaBlockHeight) -> 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 Rem<DaBlockHeight> for DaBlockHeight
impl Rem<DaBlockHeight> for DaBlockHeight
type Output = DaBlockHeight
type Output = DaBlockHeight
The resulting type after applying the
% operator.sourcefn rem(self, rhs: DaBlockHeight) -> DaBlockHeight
fn rem(self, rhs: DaBlockHeight) -> DaBlockHeight
Performs the
% operation. Read moresourceimpl Sub<DaBlockHeight> for DaBlockHeight
impl Sub<DaBlockHeight> for DaBlockHeight
type Output = DaBlockHeight
type Output = DaBlockHeight
The resulting type after applying the
- operator.sourcefn sub(self, rhs: DaBlockHeight) -> DaBlockHeight
fn sub(self, rhs: DaBlockHeight) -> DaBlockHeight
Performs the
- operation. Read moreimpl Copy for DaBlockHeight
impl Eq for DaBlockHeight
impl StructuralEq for DaBlockHeight
impl StructuralPartialEq for DaBlockHeight
Auto Trait Implementations
impl RefUnwindSafe for DaBlockHeight
impl Send for DaBlockHeight
impl Sync for DaBlockHeight
impl Unpin for DaBlockHeight
impl UnwindSafe for DaBlockHeight
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