Enum zune_core::bit_depth::ByteEndian
source · 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
source§fn eq(&self, other: &ByteEndian) -> bool
fn eq(&self, other: &ByteEndian) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ByteEndian
impl Eq for ByteEndian
impl StructuralEq for ByteEndian
impl StructuralPartialEq for ByteEndian
Auto Trait Implementations§
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