#[repr(u8)]pub enum ChannelPosition {
Fl = 0,
Fr = 1,
Fc = 2,
Lfe = 3,
Bl = 4,
Br = 5,
Flc = 6,
Frc = 7,
Bc = 8,
Sl = 9,
Sr = 10,
}Expand description
One speaker position. The discriminant is the WAV / ffmpeg mask bit.
Variants§
Fl = 0
Front left.
Fr = 1
Front right.
Fc = 2
Front center.
Lfe = 3
Low-frequency effects (subwoofer).
Bl = 4
Back left.
Br = 5
Back right.
Flc = 6
Front left-of-center.
Frc = 7
Front right-of-center.
Bc = 8
Back center.
Sl = 9
Side left.
Sr = 10
Side right.
Implementations§
Source§impl ChannelPosition
impl ChannelPosition
Sourcepub const ALL: [ChannelPosition; 11]
pub const ALL: [ChannelPosition; 11]
Every position, in mask-bit (interleave) order.
Trait Implementations§
Source§impl Clone for ChannelPosition
impl Clone for ChannelPosition
Source§fn clone(&self) -> ChannelPosition
fn clone(&self) -> ChannelPosition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChannelPosition
Source§impl Debug for ChannelPosition
impl Debug for ChannelPosition
impl Eq for ChannelPosition
Source§impl PartialEq for ChannelPosition
impl PartialEq for ChannelPosition
impl StructuralPartialEq for ChannelPosition
Auto Trait Implementations§
impl Freeze for ChannelPosition
impl RefUnwindSafe for ChannelPosition
impl Send for ChannelPosition
impl Sync for ChannelPosition
impl Unpin for ChannelPosition
impl UnsafeUnpin for ChannelPosition
impl UnwindSafe for ChannelPosition
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