Struct lofty::aac::AACProperties
source · pub struct AACProperties { /* private fields */ }Expand description
An AAC file’s audio properties
Implementations§
source§impl AACProperties
impl AACProperties
sourcepub fn version(&self) -> MpegVersion
pub fn version(&self) -> MpegVersion
sourcepub fn audio_object_type(&self) -> AudioObjectType
pub fn audio_object_type(&self) -> AudioObjectType
Audio object type
The only possible variants are:
sourcepub fn overall_bitrate(&self) -> u32
pub fn overall_bitrate(&self) -> u32
Overall bitrate (kbps)
sourcepub fn audio_bitrate(&self) -> u32
pub fn audio_bitrate(&self) -> u32
Audio bitrate (kbps)
sourcepub fn sample_rate(&self) -> u32
pub fn sample_rate(&self) -> u32
Sample rate (Hz)
Trait Implementations§
source§impl Clone for AACProperties
impl Clone for AACProperties
source§fn clone(&self) -> AACProperties
fn clone(&self) -> AACProperties
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 AACProperties
impl Debug for AACProperties
source§impl Default for AACProperties
impl Default for AACProperties
source§fn default() -> AACProperties
fn default() -> AACProperties
Returns the “default value” for a type. Read more
source§impl From<AACProperties> for FileProperties
impl From<AACProperties> for FileProperties
source§fn from(input: AACProperties) -> Self
fn from(input: AACProperties) -> Self
Converts to this type from the input type.
source§impl PartialEq for AACProperties
impl PartialEq for AACProperties
source§fn eq(&self, other: &AACProperties) -> bool
fn eq(&self, other: &AACProperties) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for AACProperties
impl Eq for AACProperties
impl StructuralEq for AACProperties
impl StructuralPartialEq for AACProperties
Auto Trait Implementations§
impl RefUnwindSafe for AACProperties
impl Send for AACProperties
impl Sync for AACProperties
impl Unpin for AACProperties
impl UnwindSafe for AACProperties
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