#[repr(u8)]pub enum Mp3Channels {
Mono = 3,
Stereo = 0,
JointStereo = 1,
DualChannel = 2,
NotSet = 4,
}
Expand description
- MP3 supports two channels in multiple ways.
Variants§
Mono = 3
- Mono audio
Stereo = 0
- Stereo audio (not telling how it is)
JointStereo = 1
- Joint stereo (most commonly used, for better compression)
DualChannel = 2
- Dual channel stereo (for better audio quality)
NotSet = 4
- Not set
Implementations§
Source§impl Mp3Channels
impl Mp3Channels
pub fn to_lame_mode(&self) -> Mode
Trait Implementations§
Source§impl Clone for Mp3Channels
impl Clone for Mp3Channels
Source§fn clone(&self) -> Mp3Channels
fn clone(&self) -> Mp3Channels
Returns a duplicate 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 Mp3Channels
impl Debug for Mp3Channels
Source§impl PartialEq for Mp3Channels
impl PartialEq for Mp3Channels
impl Copy for Mp3Channels
impl StructuralPartialEq for Mp3Channels
Auto Trait Implementations§
impl Freeze for Mp3Channels
impl RefUnwindSafe for Mp3Channels
impl Send for Mp3Channels
impl Sync for Mp3Channels
impl Unpin for Mp3Channels
impl UnwindSafe for Mp3Channels
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