Struct sep2_common::packages::primitives::Uint48
source · pub struct Uint48(pub u64);
Expand description
Unsigned integer, max inclusive 281474976710655 (2^48-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 Uint48
impl Ord for Uint48
source§impl PartialEq<Uint48> for Uint48
impl PartialEq<Uint48> for Uint48
source§impl PartialOrd<Uint48> for Uint48
impl PartialOrd<Uint48> for Uint48
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 Uint48
impl Eq for Uint48
impl StructuralEq for Uint48
impl StructuralPartialEq for Uint48
Auto Trait Implementations§
impl RefUnwindSafe for Uint48
impl Send for Uint48
impl Sync for Uint48
impl Unpin for Uint48
impl UnwindSafe for Uint48
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