CompiledTimeline
struct · ferroui-designer-animation · v0.5.0
struct CompiledTimeline
Immutable validated timeline for the render loop. Recompile after an authored edit.
Members
sample
fn sample(self: &Self, time: f64) -> Result<Vec<Sample>>
scrub
fn scrub(self: &Self, time: f64) -> Result<Vec<Sample>>
Scrub the validated edit timeline without rescanning keyframes. As with Timeline::scrub, delay, repeat and playback direction are intentionally ignored.
duration
fn duration(self: &Self) -> f64
total_duration
fn total_duration(self: &Self) -> Option<f64>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedCloneDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.