pub struct AudioMetadata {
pub channels: Channels,
pub sample_type: SampleType,
pub frame_length: usize,
}Expand description
Metadata information extracted from an audio file.
Fields§
§channels: Channels§sample_type: SampleType§frame_length: usizeTrait Implementations§
Source§impl Clone for AudioMetadata
impl Clone for AudioMetadata
Source§fn clone(&self) -> AudioMetadata
fn clone(&self) -> AudioMetadata
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 moreSource§impl Debug for AudioMetadata
impl Debug for AudioMetadata
Source§impl PartialEq for AudioMetadata
impl PartialEq for AudioMetadata
Source§fn eq(&self, other: &AudioMetadata) -> bool
fn eq(&self, other: &AudioMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AudioMetadata
impl Eq for AudioMetadata
impl StructuralPartialEq for AudioMetadata
Auto Trait Implementations§
impl Freeze for AudioMetadata
impl RefUnwindSafe for AudioMetadata
impl Send for AudioMetadata
impl Sync for AudioMetadata
impl Unpin for AudioMetadata
impl UnsafeUnpin for AudioMetadata
impl UnwindSafe for AudioMetadata
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