pub struct LittleEndian;Expand description
Little-endian byte order
Trait Implementations§
Source§impl Clone for LittleEndian
impl Clone for LittleEndian
Source§fn clone(&self) -> LittleEndian
fn clone(&self) -> LittleEndian
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Endianness for LittleEndian
impl Endianness for LittleEndian
Source§fn bytes_to_be(buf: &mut [u8], bytes_per_sample: usize)
fn bytes_to_be(buf: &mut [u8], bytes_per_sample: usize)
Converts bytes in this byte order to big-endian
Source§fn bytes_to_le(_buf: &mut [u8], _bytes_per_sample: usize)
fn bytes_to_le(_buf: &mut [u8], _bytes_per_sample: usize)
Converts bytes in this byte order to little-endian
impl Copy for LittleEndian
Auto Trait Implementations§
impl Freeze for LittleEndian
impl RefUnwindSafe for LittleEndian
impl Send for LittleEndian
impl Sync for LittleEndian
impl Unpin for LittleEndian
impl UnwindSafe for LittleEndian
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