FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ListChangeReason

    enum · ferroui-dynamic-data · v0.5.0

    enum ListChangeReason
    

    The reason of a change of a list (ListChangeReason).

    View source

    Members

    Add

    Add
    

    An item was inserted (Add).

    Source

    AddRange

    AddRange
    

    Items were inserted together (AddRange).

    Source

    Replace

    Replace
    

    An item replaced the item at its index (Replace).

    Source

    Remove

    Remove
    

    An item was removed (Remove).

    Source

    RemoveRange

    RemoveRange
    

    Items were removed together (RemoveRange).

    Source

    Refresh

    Refresh
    

    An item asks to be evaluated again (Refresh).

    Source

    Moved

    Moved
    

    An item moved (Moved).

    Source

    Clear

    Clear
    

    Every item was removed (Clear).

    Source

    change_type

    fn change_type(self: Self) -> ChangeType
    

    The kind of change of the reason (GetChangeType).

    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
    • Equivalent<K>
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash

    Availability

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