pub struct AudioMetadata {
pub sample_rate: u32,
pub channels: u16,
pub duration_samples: u64,
}Fields§
§sample_rate: u32§channels: u16§duration_samples: u64Trait 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 Default for AudioMetadata
impl Default for AudioMetadata
Source§fn default() -> AudioMetadata
fn default() -> AudioMetadata
Returns the “default value” for a type. Read more
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 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