pub struct Track { /* private fields */ }Expand description
Sorted clips with explicit adjacent-pair overlaps; later tracks paint on top.
Implementations§
Source§impl Track
impl Track
Sourcepub fn clips(&self) -> &[Clip]
pub fn clips(&self) -> &[Clip]
Temporal order; clip insertion IDs remain stable after absolute placement.
Sourcepub fn active_clip(&self, time: Time) -> Option<&Clip>
pub fn active_clip(&self, time: Time) -> Option<&Clip>
Active incoming/latest clip, or none in gaps; during a transition the scheduler also evaluates its outgoing predecessor for composition.
Sourcepub fn render(&self, context: &SceneContext<'_>) -> Option<Node>
pub fn render(&self, context: &SceneContext<'_>) -> Option<Node>
Renders the active clip at the context time, composing an incoming
transition with its predecessor; None in gaps.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Track
impl !UnwindSafe for Track
impl Forget for Track
impl Freeze for Track
impl Move for Track
impl Send for Track
impl Sync for Track
impl Unpin for Track
impl UnsafeUnpin for Track
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