FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TransitionInstance

    struct · ferroui-base · v0.5.0

    struct TransitionInstance
    

    Handles the timing and lifetime of a transition: an observable of the progress of the transition, from 0 to 1.

    View source

    Members

    new

    fn new(clock: Rc<dyn IClock>, delay: SignedDuration, duration: SignedDuration) -> Rc<Self>
    

    Creates the progress of a transition that runs on clock, starts after delay and takes duration.

    Source

    Trait implementations

    Availability

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