FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PlaybackBehavior

    enum · ferroui-base · v0.5.0

    enum PlaybackBehavior
    

    Determines whether an animation pauses when its target is not effectively visible.

    View source

    Members

    Auto

    Auto = 0
    

    The system decides based on context: animations started from styles pause when the control is not effectively visible, while manually started animations and animations that animate visibility run regardless.

    Source

    Always

    Always = 1
    

    The animation always plays regardless of the control's effective visibility.

    Source

    OnlyIfVisible

    OnlyIfVisible = 2
    

    The animation pauses when the control is not effectively visible.

    Source

    Trait implementations

    Availability

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