[][src]Enum ebur128::Channel

#[repr(u32)]pub enum Channel {
    Unused,
    Left,
    Right,
    Center,
    LeftSurround,
    RightSurround,
    DualMono,
    MpSC,
    MmSC,
    Mp060,
    Mm060,
    Mp090,
    Mm090,
    Mp135,
    Mm135,
    Mp180,
    Up000,
    Up030,
    Um030,
    Up045,
    Um045,
    Up090,
    Um090,
    Up110,
    Um110,
    Up135,
    Um135,
    Up180,
    Tp000,
    Bp000,
    Bp045,
    Bm045,
}

Channel position.

Use these values when setting the channel map with EbuR128::set_channel. See definitions in ITU R-REC-BS 1770-4.

Variants

Unused

unused channel (for example LFE channel)

Left

Left or itu M+030

Right

Right or itu M-030

Center

Center or itu M+000

LeftSurround

Left surround or itu M+110

RightSurround

Right surround or itu M-110

DualMono

a channel that is counted twice

MpSC

itu M+SC

MmSC

itu M-SC

Mp060

itu M+060

Mm060

itu M-060

Mp090

itu M+090

Mm090

itu M-090

Mp135

itu M+135

Mm135

itu M-135

Mp180

itu M+180

Up000

itu U+000

Up030

itu U+030

Um030

itu U-030

Up045

itu U+045

Um045

itu U-030

Up090

itu U+090

Um090

itu U-090

Up110

itu U+110

Um110

itu U-110

Up135

itu U+135

Um135

itu U-135

Up180

itu U+180

Tp000

itu T+000

Bp000

itu B+000

Bp045

itu B+045

Bm045

itu B-045

Trait Implementations

impl Clone for Channel[src]

impl Copy for Channel[src]

impl Debug for Channel[src]

impl Eq for Channel[src]

impl PartialEq<Channel> for Channel[src]

impl StructuralEq for Channel[src]

impl StructuralPartialEq for Channel[src]

Auto Trait Implementations

impl RefUnwindSafe for Channel

impl Send for Channel

impl Sync for Channel

impl Unpin for Channel

impl UnwindSafe for Channel

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.