FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CollectionChangeState

    struct · ferroui-controls · v0.5.0

    struct CollectionChangeState<T>
    

    Details the results of a collection change on the current selection.

    View source

    Members

    shift_index

    shift_index: i32
    

    The first index that was shifted as a result of the collection changing.

    Source

    shift_delta

    shift_delta: i32
    

    How the indexes after shift_index were shifted.

    Source

    removed_items

    removed_items: Option<Vec<Option<T>>>
    

    The items removed by the collection change, if any.

    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

    Availability

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