#[repr(transparent)]pub struct U16Le(pub [u8; 2]);Expand description
16-bit unsigned integer stored as a little-endian.
Tuple Fields§
§0: [u8; 2]Implementations§
Trait Implementations§
Source§impl Ord for U16Le
impl Ord for U16Le
Source§impl PartialOrd for U16Le
impl PartialOrd for U16Le
impl Copy for U16Le
impl Eq for U16Le
impl Pod for U16Le
impl StructuralPartialEq for U16Le
Auto Trait Implementations§
impl Freeze for U16Le
impl RefUnwindSafe for U16Le
impl Send for U16Le
impl Sync for U16Le
impl Unpin for U16Le
impl UnwindSafe for U16Le
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.