FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Transitions

    struct · ferroui-base · v0.5.0

    struct Transitions
    

    A collection of ITransition objects.

    The handle is shared: clones refer to the same collection, and handles compare by identity. Clearing the collection notifies a removal of every item, and transitions of direct properties are rejected.

    View source

    Members

    new

    fn new() -> Self
    

    Creates an empty collection.

    Source

    from_items

    fn from_items(items: impl IntoIterator<Item = Rc<dyn ITransition>>) -> Self
    

    Creates a collection holding items.

    Source

    ptr_eq

    fn ptr_eq(self: &Self, other: &Self) -> bool
    

    Whether two handles refer to the same collection.

    Source

    Trait implementations

    Availability

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