Enum opus::Channels[][src]

pub enum Channels {
    Mono,
    Stereo,
}

The available channel setings.

Variants

One channel.

Two channels, left and right.

Trait Implementations

impl Debug for Channels
[src]

Formats the value using the given formatter. Read more

impl Clone for Channels
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Channels
[src]

impl Eq for Channels
[src]

impl PartialEq for Channels
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for Channels
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Channels

impl Sync for Channels