FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SlidingAnimation

    struct · ferroui-xaml-behaviors-animations · v0.5.0

    struct SlidingAnimation
    

    Slides an element into its place when it is loaded, from outside one of its edges.

    View source

    Members

    set_left

    fn set_left(element: &Control, milliseconds: f64)
    

    Slides the element in from its width to the left, over milliseconds, when it is loaded.

    Source

    set_right

    fn set_right(element: &Control, milliseconds: f64)
    

    Slides the element in from twice its width to the right, over milliseconds, when it is loaded.

    Source

    set_top

    fn set_top(element: &Control, milliseconds: f64)
    

    Slides the element in from its height above, over milliseconds, when it is loaded.

    Source

    set_bottom

    fn set_bottom(element: &Control, milliseconds: f64)
    

    Slides the element in from twice its height below, over milliseconds, when it is loaded.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • MarkupTyped

    Availability

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