pub struct ActiveTransition<'a> {
pub from_clip: &'a ClipId,
pub to_clip: &'a ClipId,
pub effect: ActiveEffect<'a>,
pub progress: f32,
}Expand description
A transition evaluated at one timeline timestamp.
Fields§
§from_clip: &'a ClipIdClip sampled at progress zero.
to_clip: &'a ClipIdClip sampled at progress one.
effect: ActiveEffect<'a>Versioned shader invocation, with parameters sampled at the frame’s time.
progress: f32Eased progress in the inclusive unit interval.
Trait Implementations§
Source§impl<'a> Clone for ActiveTransition<'a>
impl<'a> Clone for ActiveTransition<'a>
impl<'a> Copy for ActiveTransition<'a>
Source§impl<'a> Debug for ActiveTransition<'a>
impl<'a> Debug for ActiveTransition<'a>
Source§impl<'a> PartialEq for ActiveTransition<'a>
impl<'a> PartialEq for ActiveTransition<'a>
impl<'a> StructuralPartialEq for ActiveTransition<'a>
Auto Trait Implementations§
impl<'a> Forget for ActiveTransition<'a>
impl<'a> Freeze for ActiveTransition<'a>where
&'a ClipId: Freeze,
&'a ClipEffect: Freeze,
&'a Project: Freeze,
&'a DataIndex: Freeze,
&'a CompositionPlan: Freeze,
&'a Composition: Freeze,
impl<'a> Move for ActiveTransition<'a>
impl<'a> RefUnwindSafe for ActiveTransition<'a>
impl<'a> Send for ActiveTransition<'a>where
&'a ClipId: Send,
&'a ClipEffect: Send,
&'a Project: Send,
&'a DataIndex: Send,
&'a CompositionPlan: Send,
&'a Composition: Send,
impl<'a> Sync for ActiveTransition<'a>where
RawVecInner: Sync,
NodeRef<Owned, String, Animated<EffectValue>, LeafOrInternal>: Sync,
BoxRaw<(String, Animated<EffectValue>)>: Sync,
NodeRef<Owned, String, EffectResourceId, LeafOrInternal>: Sync,
BoxRaw<(String, EffectResourceId)>: Sync,
BoxRaw<DataBinding>: Sync,
BoxRaw<TextStyle>: Sync,
BoxRaw<LayoutNode>: Sync,
NodeRef<Owned, String, Option<NodeId>, LeafOrInternal>: Sync,
BoxRaw<(String, Option<NodeId>)>: Sync,
NodeRef<Owned, String, TextStylePatch, LeafOrInternal>: Sync,
BoxRaw<(String, TextStylePatch)>: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
RawTable<(DataSetId, usize)>: Sync,
RawTable<(ClipId, (usize, usize))>: Sync,
Arc<GeneratorPlan>: Sync,
impl<'a> Unpin for ActiveTransition<'a>where
&'a ClipId: Unpin,
&'a ClipEffect: Unpin,
&'a Project: Unpin,
&'a DataIndex: Unpin,
&'a CompositionPlan: Unpin,
&'a Composition: Unpin,
impl<'a> UnsafeUnpin for ActiveTransition<'a>where
&'a ClipId: UnsafeUnpin,
&'a ClipEffect: UnsafeUnpin,
&'a Project: UnsafeUnpin,
&'a DataIndex: UnsafeUnpin,
&'a CompositionPlan: UnsafeUnpin,
&'a Composition: UnsafeUnpin,
impl<'a> UnwindSafe for ActiveTransition<'a>where
&'a ClipId: UnwindSafe,
&'a ClipEffect: UnwindSafe,
&'a Project: UnwindSafe,
&'a DataIndex: UnwindSafe,
&'a CompositionPlan: UnwindSafe,
&'a Composition: 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