#[repr(u8)]pub enum Mp3Quality {
Best = 0,
SecondBest = 1,
NearBest = 2,
VeryNice = 3,
Nice = 4,
Good = 5,
Decent = 6,
Ok = 7,
SecondWorst = 8,
Worst = 9,
}
Expand description
- MP3 quality. Affects the speed of encoding.
Variants§
Best = 0
SecondBest = 1
NearBest = 2
VeryNice = 3
Nice = 4
Good = 5
Decent = 6
Ok = 7
SecondWorst = 8
Worst = 9
Implementations§
Source§impl Mp3Quality
impl Mp3Quality
pub fn to_lame_quality(&self) -> Quality
Trait Implementations§
Source§impl Clone for Mp3Quality
impl Clone for Mp3Quality
Source§fn clone(&self) -> Mp3Quality
fn clone(&self) -> Mp3Quality
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Mp3Quality
impl Debug for Mp3Quality
Source§impl PartialEq for Mp3Quality
impl PartialEq for Mp3Quality
impl Copy for Mp3Quality
impl StructuralPartialEq for Mp3Quality
Auto Trait Implementations§
impl Freeze for Mp3Quality
impl RefUnwindSafe for Mp3Quality
impl Send for Mp3Quality
impl Sync for Mp3Quality
impl Unpin for Mp3Quality
impl UnwindSafe for Mp3Quality
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more