pub enum ByteEndian {
LE,
BE,
}
Expand description
Byte endianness of returned samples
this is useful when the decoder returns samples which span more
than one byte yet the type returned is &[u8]
This helps you interpret how those bytes should be reconstructed to a higher order type
Variants§
Trait Implementations§
Source§impl Clone for ByteEndian
impl Clone for ByteEndian
Source§fn clone(&self) -> ByteEndian
fn clone(&self) -> ByteEndian
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ByteEndian
impl Debug for ByteEndian
Source§impl PartialEq for ByteEndian
impl PartialEq for ByteEndian
impl Copy for ByteEndian
impl Eq for ByteEndian
impl StructuralPartialEq for ByteEndian
Auto Trait Implementations§
impl Freeze for ByteEndian
impl RefUnwindSafe for ByteEndian
impl Send for ByteEndian
impl Sync for ByteEndian
impl Unpin for ByteEndian
impl UnwindSafe for ByteEndian
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