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<ByteEndian> for ByteEndian
impl PartialEq<ByteEndian> 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 ==
.