pub struct ExportRenderer { /* private fields */ }Expand description
Export renderer for final output.
Implementations§
Source§impl ExportRenderer
impl ExportRenderer
Sourcepub fn new(timeline: Arc<Timeline>, settings: ExportSettings) -> Self
pub fn new(timeline: Arc<Timeline>, settings: ExportSettings) -> Self
Create a new export renderer.
Sourcepub async fn export(&mut self) -> EditResult<Vec<RenderFrame>>
pub async fn export(&mut self) -> EditResult<Vec<RenderFrame>>
Export timeline to frames.
Sourcepub fn export_stream(&mut self) -> ExportStream
pub fn export_stream(&mut self) -> ExportStream
Export timeline as a stream.
Auto Trait Implementations§
impl Freeze for ExportRenderer
impl RefUnwindSafe for ExportRenderer
impl Send for ExportRenderer
impl Sync for ExportRenderer
impl Unpin for ExportRenderer
impl UnsafeUnpin for ExportRenderer
impl UnwindSafe for ExportRenderer
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more