Enum opus::Bitrate
[−]
[src]
pub enum Bitrate { Bits(i32), Max, Auto, }
Possible bitrates.
Variants
Bits(i32)
Explicit bitrate choice (in bits/second).
Max
Maximum bitrate allowed (up to maximum number of bytes for the packet).
Auto
Default bitrate decided by the encoder (not recommended).
Trait Implementations
impl Debug for Bitrate
[src]
impl Copy for Bitrate
[src]
impl Clone for Bitrate
[src]
fn clone(&self) -> Bitrate
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Eq for Bitrate
[src]
impl PartialEq for Bitrate
[src]
fn eq(&self, __arg_0: &Bitrate) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Bitrate) -> bool
This method tests for !=
.
impl Hash for Bitrate
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.