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