Enum opus::Channels [−][src]
pub enum Channels { Mono, Stereo, }
The available channel setings.
Variants
Mono
One channel.
Stereo
Two channels, left and right.
Trait Implementations
impl Debug for Channels
[src]
impl Debug for Channels
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Channels
[src]
impl Clone for Channels
fn clone(&self) -> Channels
[src]
fn clone(&self) -> Channels
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Channels
[src]
impl Copy for Channels
impl Eq for Channels
[src]
impl Eq for Channels
impl PartialEq for Channels
[src]
impl PartialEq for Channels
fn eq(&self, other: &Channels) -> bool
[src]
fn eq(&self, other: &Channels) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Hash for Channels
[src]
impl Hash for Channels