#[repr(u32)]
pub enum Channel {
Show 32 variants 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,
}
Expand description

Channel position.

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

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

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.