#[repr(usize)]pub enum AudioChannel {
Left = 0,
Right = 1,
Center = 2,
LFE = 3,
LeftSurround = 4,
RightSurround = 5,
RearLeft = 6,
RearRight = 7,
}Expand description
Represents individual audio channels in a multi-channel setup, with repr(usize) for indexing.
Variants§
Left = 0
Left channel.
Right = 1
Right channel.
Center = 2
Center channel.
LFE = 3
Low-Frequency Effects (subwoofer) channel.
LeftSurround = 4
Left surround channel.
RightSurround = 5
Right surround channel.
RearLeft = 6
Rear left channel (for 7.1 layouts).
RearRight = 7
Rear right channel (for 7.1 layouts).
Trait Implementations§
Source§impl Clone for AudioChannel
impl Clone for AudioChannel
Source§fn clone(&self) -> AudioChannel
fn clone(&self) -> AudioChannel
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 AudioChannel
impl Debug for AudioChannel
impl Copy for AudioChannel
Auto Trait Implementations§
impl Freeze for AudioChannel
impl RefUnwindSafe for AudioChannel
impl Send for AudioChannel
impl Sync for AudioChannel
impl Unpin for AudioChannel
impl UnwindSafe for AudioChannel
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