Struct lofty::ape::ApeProperties
source · #[non_exhaustive]pub struct ApeProperties { /* private fields */ }Expand description
An APE file’s audio properties
Implementations§
source§impl ApeProperties
impl ApeProperties
sourcepub fn overall_bitrate(&self) -> u32
pub fn overall_bitrate(&self) -> u32
Overall bitrate (kbps)
sourcepub fn sample_rate(&self) -> u32
pub fn sample_rate(&self) -> u32
Sample rate (Hz)
Trait Implementations§
source§impl Clone for ApeProperties
impl Clone for ApeProperties
source§fn clone(&self) -> ApeProperties
fn clone(&self) -> ApeProperties
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 ApeProperties
impl Debug for ApeProperties
source§impl Default for ApeProperties
impl Default for ApeProperties
source§fn default() -> ApeProperties
fn default() -> ApeProperties
Returns the “default value” for a type. Read more
source§impl From<ApeProperties> for FileProperties
impl From<ApeProperties> for FileProperties
source§fn from(input: ApeProperties) -> Self
fn from(input: ApeProperties) -> Self
Converts to this type from the input type.
source§impl PartialEq<ApeProperties> for ApeProperties
impl PartialEq<ApeProperties> for ApeProperties
source§fn eq(&self, other: &ApeProperties) -> bool
fn eq(&self, other: &ApeProperties) -> bool
This method tests for
self and other values to be equal, and is used
by ==.