#[repr(transparent)]pub struct AudioChannelOrder(pub u8);
Expand description
Audio channel order
Defined by:
- Enhanced RTMP spec, page 22-23, ExAudioTagBody
Tuple Fields§
§0: u8
Implementations§
Source§impl AudioChannelOrder
impl AudioChannelOrder
Sourcepub const Unspecified: Self
pub const Unspecified: Self
Only the channel count is specified, without any further information about the channel order.
Sourcepub const Native: Self
pub const Native: Self
The native channel order (i.e., the channels are in the same order in which as defined in the AudioChannel
enum).
Trait Implementations§
Source§impl Clone for AudioChannelOrder
impl Clone for AudioChannelOrder
Source§fn clone(&self) -> AudioChannelOrder
fn clone(&self) -> AudioChannelOrder
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 AudioChannelOrder
impl Debug for AudioChannelOrder
Source§impl From<AudioChannelOrder> for u8
impl From<AudioChannelOrder> for u8
Source§fn from(value: AudioChannelOrder) -> Self
fn from(value: AudioChannelOrder) -> Self
Converts to this type from the input type.
Source§impl From<u8> for AudioChannelOrder
impl From<u8> for AudioChannelOrder
Source§impl Hash for AudioChannelOrder
impl Hash for AudioChannelOrder
Source§impl Ord for AudioChannelOrder
impl Ord for AudioChannelOrder
Source§fn cmp(&self, other: &AudioChannelOrder) -> Ordering
fn cmp(&self, other: &AudioChannelOrder) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AudioChannelOrder
impl PartialEq for AudioChannelOrder
Source§impl PartialOrd for AudioChannelOrder
impl PartialOrd for AudioChannelOrder
impl Copy for AudioChannelOrder
impl Eq for AudioChannelOrder
impl StructuralPartialEq for AudioChannelOrder
Auto Trait Implementations§
impl Freeze for AudioChannelOrder
impl RefUnwindSafe for AudioChannelOrder
impl Send for AudioChannelOrder
impl Sync for AudioChannelOrder
impl Unpin for AudioChannelOrder
impl UnwindSafe for AudioChannelOrder
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