Struct servo_media_audio::block::Chunk
source · pub struct Chunk {
pub blocks: SmallVec<[Block; 1]>,
}
Expand description
A collection of blocks received as input by a node or outputted by a node.
This will usually be a single block.
Some nodes have multiple inputs or outputs, which is where this becomes useful. Source nodes have an input of an empty chunk.
Fields§
§blocks: SmallVec<[Block; 1]>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Chunk
impl RefUnwindSafe for Chunk
impl Send for Chunk
impl Sync for Chunk
impl Unpin for Chunk
impl UnwindSafe for Chunk
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