pub enum ChannelOrder {
Native,
Custom,
Unspec,
}Expand description
Channel ordering scheme.
Variants§
Native
The native channel order, i.e. the channels are in the same order in which they are defined in the Channel enum.
Custom
Custom order — channels are described by the map in ChannelLayout.
Unspec
Unspecified order — only the channel count is known.
Trait Implementations§
Source§impl Clone for ChannelOrder
impl Clone for ChannelOrder
Source§fn clone(&self) -> ChannelOrder
fn clone(&self) -> ChannelOrder
Returns a duplicate 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 ChannelOrder
impl Debug for ChannelOrder
Source§impl PartialEq for ChannelOrder
impl PartialEq for ChannelOrder
impl Copy for ChannelOrder
impl Eq for ChannelOrder
impl StructuralPartialEq for ChannelOrder
Auto Trait Implementations§
impl Freeze for ChannelOrder
impl RefUnwindSafe for ChannelOrder
impl Send for ChannelOrder
impl Sync for ChannelOrder
impl Unpin for ChannelOrder
impl UnsafeUnpin for ChannelOrder
impl UnwindSafe for ChannelOrder
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