pub struct Little;Expand description
Little endian.
Trait Implementations§
Source§impl Endian for Little
impl Endian for Little
Source§fn convert_u16(&self, bytes: [u8; 2]) -> u16
fn convert_u16(&self, bytes: [u8; 2]) -> u16
Convert a
u16 from the source endian to the native endian.Source§fn convert_u32(&self, bytes: [u8; 4]) -> u32
fn convert_u32(&self, bytes: [u8; 4]) -> u32
Convert a
u32 from the source endian to the native endian.impl Copy for Little
Auto Trait Implementations§
impl Freeze for Little
impl RefUnwindSafe for Little
impl Send for Little
impl Sync for Little
impl Unpin for Little
impl UnwindSafe for Little
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