pub struct CompositionPlan {
pub id: CompositionId,
pub steps: Vec<Step>,
pub output: usize,
pub media: Vec<(String, MediaTime)>,
}Expand description
A composition’s output, drawn by steps in dependency order.
Fields§
§id: CompositionIdThe composition.
steps: Vec<Step>Steps in dependency order; each step’s inputs are earlier steps.
output: usizeThe step whose image is the composition’s picture.
media: Vec<(String, MediaTime)>Every media node of the compositions the steps come from, drawn or not, by inlined path,
with its start: what a value bound to data reads through.
Implementations§
Source§impl CompositionPlan
impl CompositionPlan
Sourcepub fn effects(&self) -> impl Iterator<Item = &ClipEffect>
pub fn effects(&self) -> impl Iterator<Item = &ClipEffect>
The effect and transition invocations the steps run, in step order.
Trait Implementations§
Source§impl Clone for CompositionPlan
impl Clone for CompositionPlan
Source§impl Debug for CompositionPlan
impl Debug for CompositionPlan
Source§impl PartialEq for CompositionPlan
impl PartialEq for CompositionPlan
impl StructuralPartialEq for CompositionPlan
Auto Trait Implementations§
impl Forget for CompositionPlan
impl Freeze for CompositionPlanwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Step>: Freeze,
PhantomData<(String, MediaTime)>: Freeze,
impl Move for CompositionPlan
impl RefUnwindSafe for CompositionPlan
impl Send for CompositionPlanwhere
RawVecInner: Send,
BoxRaw<DataBinding>: Send,
BoxRaw<TextStyle>: Send,
BoxRaw<LayoutNode>: Send,
Arc<GeneratorPlan>: Send,
NodeRef<Owned, String, Animated<EffectValue>, LeafOrInternal>: Send,
BoxRaw<(String, Animated<EffectValue>)>: Send,
NodeRef<Owned, String, EffectResourceId, LeafOrInternal>: Send,
BoxRaw<(String, EffectResourceId)>: Send,
impl Sync for CompositionPlanwhere
RawVecInner: Sync,
BoxRaw<DataBinding>: Sync,
BoxRaw<TextStyle>: Sync,
BoxRaw<LayoutNode>: Sync,
Arc<GeneratorPlan>: Sync,
NodeRef<Owned, String, Animated<EffectValue>, LeafOrInternal>: Sync,
BoxRaw<(String, Animated<EffectValue>)>: Sync,
NodeRef<Owned, String, EffectResourceId, LeafOrInternal>: Sync,
BoxRaw<(String, EffectResourceId)>: Sync,
impl Unpin for CompositionPlanwhere
*const u8 is !null: Unpin,
Box<DataBinding>: Unpin,
Box<TextStyle>: Unpin,
Box<LayoutNode>: Unpin,
Arc<GeneratorPlan>: Unpin,
*const LeafNode<String, Animated<EffectValue>> is !null: Unpin,
Box<(String, Animated<EffectValue>)>: Unpin,
*const LeafNode<String, EffectResourceId> is !null: Unpin,
Box<(String, EffectResourceId)>: Unpin,
impl UnsafeUnpin for CompositionPlanwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Step>: UnsafeUnpin,
PhantomData<(String, MediaTime)>: UnsafeUnpin,
impl UnwindSafe for CompositionPlanwhere
RawVecInner: UnwindSafe,
BoxRaw<DataBinding>: UnwindSafe,
BoxRaw<TextStyle>: UnwindSafe,
BoxRaw<LayoutNode>: UnwindSafe,
Arc<GeneratorPlan>: UnwindSafe,
BTreeMap<String, Animated<EffectValue>>: UnwindSafe,
BTreeMap<String, EffectResourceId>: UnwindSafe,
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