Struct sep2_common::packages::primitives::Uint40
source · pub struct Uint40(pub u64);
Expand description
Unsigned integer, max inclusive 1099511627775 (2^40-1)
Tuple Fields§
§0: u64
Methods from Deref<Target = u64>§
pub const MIN: u64 = 0u64
pub const MAX: u64 = 18_446_744_073_709_551_615u64
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl Ord for Uint40
impl Ord for Uint40
source§impl PartialEq<Uint40> for Uint40
impl PartialEq<Uint40> for Uint40
source§impl PartialOrd<Uint40> for Uint40
impl PartialOrd<Uint40> for Uint40
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
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 moreimpl Copy for Uint40
impl Eq for Uint40
impl StructuralEq for Uint40
impl StructuralPartialEq for Uint40
Auto Trait Implementations§
impl RefUnwindSafe for Uint40
impl Send for Uint40
impl Sync for Uint40
impl Unpin for Uint40
impl UnwindSafe for Uint40
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