#[non_exhaustive]pub enum AacProfile {
Main,
Lc,
Ssr,
Ltp,
}Expand description
MPEG-4 audio object type carried in ADTS’s 2-bit profile field
(profile = object_type - 1).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Main
Object type 1.
Lc
Object type 2 — the common case for encoded AAC-LC streams.
Ssr
Object type 3.
Ltp
Object type 4 (MPEG-4 ADTS only).
Trait Implementations§
Source§impl Clone for AacProfile
impl Clone for AacProfile
Source§fn clone(&self) -> AacProfile
fn clone(&self) -> AacProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AacProfile
Source§impl Debug for AacProfile
impl Debug for AacProfile
impl Eq for AacProfile
Source§impl PartialEq for AacProfile
impl PartialEq for AacProfile
impl StructuralPartialEq for AacProfile
Auto Trait Implementations§
impl Freeze for AacProfile
impl RefUnwindSafe for AacProfile
impl Send for AacProfile
impl Sync for AacProfile
impl Unpin for AacProfile
impl UnsafeUnpin for AacProfile
impl UnwindSafe for AacProfile
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