FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CompiledTimeline

    struct · ferroui-designer-animation · v0.5.0

    struct CompiledTimeline
    

    Immutable validated timeline for the render loop. Recompile after an authored edit.

    View source

    Members

    sample

    fn sample(self: &Self, time: f64) -> Result<Vec<Sample>>
    

    Source

    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.

    Source

    duration

    fn duration(self: &Self) -> f64
    

    Source

    total_duration

    fn total_duration(self: &Self) -> Option<f64>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • Clone
    • Debug

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.