#[non_exhaustive]pub enum SampleOutput {
Frame(VideoFrame),
Audio(Vec<f32>),
StructuredOp(ExportOp),
}Expand description
What a SceneSampler hands back. Video frames go into the
compositor; text / raw ops flow through to the export pipeline.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Frame(VideoFrame)
Audio(Vec<f32>)
StructuredOp(ExportOp)
Carry-through for vector / structured exports (PDF).
Trait Implementations§
Source§impl Clone for SampleOutput
impl Clone for SampleOutput
Source§fn clone(&self) -> SampleOutput
fn clone(&self) -> SampleOutput
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 SampleOutput
impl RefUnwindSafe for SampleOutput
impl Send for SampleOutput
impl Sync for SampleOutput
impl Unpin for SampleOutput
impl UnsafeUnpin for SampleOutput
impl UnwindSafe for SampleOutput
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