pub struct PcmFrameF32 {
pub pts_ms: u32,
pub sample_rate: u32,
pub channels: u16,
pub samples: Vec<f32>,
}Expand description
A decoded PCM chunk.
Fields§
§pts_ms: u32§sample_rate: u32§channels: u16§samples: Vec<f32>Interleaved samples.
Trait Implementations§
Source§impl Clone for PcmFrameF32
impl Clone for PcmFrameF32
Source§fn clone(&self) -> PcmFrameF32
fn clone(&self) -> PcmFrameF32
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PcmFrameF32
impl RefUnwindSafe for PcmFrameF32
impl Send for PcmFrameF32
impl Sync for PcmFrameF32
impl Unpin for PcmFrameF32
impl UnwindSafe for PcmFrameF32
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