pub struct CompileContext<'a> { /* private fields */ }Implementations§
Source§impl<'a> CompileContext<'a>
impl<'a> CompileContext<'a>
pub fn new(composition: &'a Composition) -> Self
pub fn with_output_format( composition: &'a Composition, output_format: TextureFormat, ) -> Self
pub fn with_frame( composition: &'a Composition, frame: u32, output_format: TextureFormat, ) -> Self
pub fn with_media<M: MediaStore>( composition: &'a Composition, media: &'a M, output_format: TextureFormat, ) -> Self
pub fn with_media_for_frame<M: MediaStore>( composition: &'a Composition, frame: u32, media: &'a M, output_format: TextureFormat, ) -> Self
pub fn compile(self) -> Result<CompiledComposition, LumenError>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CompileContext<'a>
impl<'a> !UnwindSafe for CompileContext<'a>
impl<'a> Freeze for CompileContext<'a>
impl<'a> Send for CompileContext<'a>
impl<'a> Sync for CompileContext<'a>
impl<'a> Unpin for CompileContext<'a>
impl<'a> UnsafeUnpin for CompileContext<'a>
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