pub enum ChannelPosition {
Show 20 variants
Mono,
FrontLeft,
FrontRight,
FrontCenter,
RearLeft,
RearRight,
RearCenter,
LFE,
SideLeft,
SideRight,
FrontLeftOfCenter,
FrontRightOfCenter,
TopCenter,
TopFrontLeft,
TopFrontRight,
TopFrontCenter,
TopRearLeft,
TopRearRight,
TopRearCenter,
Unknown,
}Expand description
Channel position enumeration
Variants§
Mono
Single mono channel.
FrontLeft
Front left.
FrontRight
Front right.
FrontCenter
Front center.
RearLeft
Rear left.
RearRight
Rear right.
RearCenter
Rear center (Dolby: “Surround Rear Center”).
LFE
Low frequency effects (subwoofer).
SideLeft
Side left (Dolby: “Surround Left”).
SideRight
Side right (Dolby: “Surround Right”).
FrontLeftOfCenter
Front left of center (Dolby: “Left Center”).
FrontRightOfCenter
Front right of center (Dolby: “Right Center”).
TopCenter
Top center (Apple: “Top Center Surround”).
TopFrontLeft
Top front left (Apple: “Vertical Height Left”).
TopFrontRight
Top front right (Apple: “Vertical Height Right”).
TopFrontCenter
Top front center (Apple: “Vertical Height Center”).
TopRearLeft
Top rear left (Microsoft/Apple: “Top Back Left”).
TopRearRight
Top rear right (Microsoft/Apple: “Top Back Right”).
TopRearCenter
Top rear center (Microsoft/Apple: “Top Back Center”).
Unknown
Unrecognized position from PulseAudio.
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