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