pub struct RenderedFrame {
pub video: Option<VideoFrame>,
pub audio: Vec<f32>,
pub operations: Vec<ExportOp>,
}Expand description
One output tick.
Fields§
§video: Option<VideoFrame>Optional reconstructed video frame. None for audio-only
intervals or for exporters that don’t emit raster.
audio: Vec<f32>Audio samples for the interval since the previous
sample_at call, at the scene’s sample_rate. Interleaved
f32. Always valid (silent if no cue fired).
operations: Vec<ExportOp>Structured export ops (PDF runs, filter-format operators, …).
Trait Implementations§
Source§impl Clone for RenderedFrame
impl Clone for RenderedFrame
Source§fn clone(&self) -> RenderedFrame
fn clone(&self) -> RenderedFrame
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 moreSource§impl Debug for RenderedFrame
impl Debug for RenderedFrame
Source§impl Default for RenderedFrame
impl Default for RenderedFrame
Source§fn default() -> RenderedFrame
fn default() -> RenderedFrame
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RenderedFrame
impl RefUnwindSafe for RenderedFrame
impl Send for RenderedFrame
impl Sync for RenderedFrame
impl Unpin for RenderedFrame
impl UnsafeUnpin for RenderedFrame
impl UnwindSafe for RenderedFrame
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