#[non_exhaustive]pub struct NormalizedChunk {
pub samples: Vec<f32>,
pub pts_ns: i64,
pub flags: ChunkFlags,
}Expand description
A library-constructed chunk retaining padding provenance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.samples: Vec<f32>Interleaved output PCM.
pts_ns: i64Presentation timestamp of the first frame.
flags: ChunkFlagsIntegrity flags; padding alone is not a discontinuity.
Trait Implementations§
Source§impl Clone for NormalizedChunk
impl Clone for NormalizedChunk
Source§impl Debug for NormalizedChunk
impl Debug for NormalizedChunk
Source§impl PartialEq for NormalizedChunk
impl PartialEq for NormalizedChunk
impl StructuralPartialEq for NormalizedChunk
Auto Trait Implementations§
impl Freeze for NormalizedChunk
impl RefUnwindSafe for NormalizedChunk
impl Send for NormalizedChunk
impl Sync for NormalizedChunk
impl Unpin for NormalizedChunk
impl UnsafeUnpin for NormalizedChunk
impl UnwindSafe for NormalizedChunk
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