pub struct u46(_);
Expand description
The 46-bit unsigned integer type.
Implementations§
source§impl u46
impl u46
sourcepub const MIN: u46 = _
pub const MIN: u46 = _
The smallest value that can be represented by this integer type.
Examples
Basic usage:
assert_eq!(u46::MIN, u46::try_from(0u64).unwrap());
Trait Implementations§
source§impl Ord for u46
impl Ord for u46
source§impl PartialOrd<u46> for u46
impl PartialOrd<u46> for u46
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 more