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