pub struct EndianLittle { /* private fields */ }
Expand description
Implements Endian
trait and provides
little endian
conversions between numbers and arrays
Trait Implementations§
Source§impl<Num, const N: usize> Endian<Num, N> for EndianLittlewhere
Num: ArrayConversions<N>,
impl<Num, const N: usize> Endian<Num, N> for EndianLittlewhere
Num: ArrayConversions<N>,
fn from_bytes(bytes: [u8; N]) -> Num
fn into_bytes(num: Num) -> [u8; N]
Auto Trait Implementations§
impl Freeze for EndianLittle
impl RefUnwindSafe for EndianLittle
impl Send for EndianLittle
impl Sync for EndianLittle
impl Unpin for EndianLittle
impl UnwindSafe for EndianLittle
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