pub struct Audio {
pub sample_rate: f64,
pub channels: u64,
pub bit_depth: Option<u64>,
}Expand description
An audio track’s specifications
Fields§
§sample_rate: f64The sample rate in Hz
channels: u64The number of audio channels
bit_depth: Option<u64>The bit depth of each sample
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Audio
impl RefUnwindSafe for Audio
impl Send for Audio
impl Sync for Audio
impl Unpin for Audio
impl UnsafeUnpin for Audio
impl UnwindSafe for Audio
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