Struct lofty::ape::ApeProperties
source · [−]#[non_exhaustive]pub struct ApeProperties { /* private fields */ }
Expand description
An APE file’s audio properties
Implementations
sourceimpl 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
sourceimpl Clone for ApeProperties
impl Clone for ApeProperties
sourcefn clone(&self) -> ApeProperties
fn clone(&self) -> ApeProperties
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ApeProperties
impl Debug for ApeProperties
sourceimpl Default for ApeProperties
impl Default for ApeProperties
sourcefn default() -> ApeProperties
fn default() -> ApeProperties
Returns the “default value” for a type. Read more
sourceimpl From<ApeProperties> for FileProperties
impl From<ApeProperties> for FileProperties
sourcefn from(input: ApeProperties) -> Self
fn from(input: ApeProperties) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ApeProperties> for ApeProperties
impl PartialEq<ApeProperties> for ApeProperties
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ApeProperties) -> bool
fn ne(&self, other: &ApeProperties) -> bool
This method tests for !=
.
impl StructuralPartialEq for ApeProperties
Auto Trait Implementations
impl RefUnwindSafe for ApeProperties
impl Send for ApeProperties
impl Sync for ApeProperties
impl Unpin for ApeProperties
impl UnwindSafe for ApeProperties
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more