Struct sep2_common::packages::primitives::Int48
source · pub struct Int48(pub i64);
Expand description
Signed integer, max inclusive 140737488355328 (2^47), min inclusive -140737488355328
Tuple Fields§
§0: i64
Methods from Deref<Target = i64>§
pub const MIN: i64 = -9_223_372_036_854_775_808i64
pub const MAX: i64 = 9_223_372_036_854_775_807i64
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl Ord for Int48
impl Ord for Int48
source§impl PartialEq<Int48> for Int48
impl PartialEq<Int48> for Int48
source§impl PartialOrd<Int48> for Int48
impl PartialOrd<Int48> for Int48
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 Int48
impl Eq for Int48
impl StructuralEq for Int48
impl StructuralPartialEq for Int48
Auto Trait Implementations§
impl RefUnwindSafe for Int48
impl Send for Int48
impl Sync for Int48
impl Unpin for Int48
impl UnwindSafe for Int48
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