FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IGrouping

    trait · ferroui-dynamic-data · v0.5.0

    trait IGrouping<T, K, G>
    

    The state of a group at one moment (IGrouping<TObject, TKey, TGroupKey>): the items of the change sets of GroupWithImmutableState and GroupOnPropertyWithImmutableState, which replace a group with a new state whenever its items change.

    View source

    Members

    count

    fn count(self: &Self) -> usize
    

    The number of items (Count).

    Source

    items

    fn items(self: &Self) -> Vec<T>
    

    The items (Items).

    Source

    key

    fn key(self: &Self) -> &G
    

    The group key (Key).

    Source

    keys

    fn keys(self: &Self) -> Vec<K>
    

    The keys of the items (Keys).

    Source

    key_values

    fn key_values(self: &Self) -> Vec<(K, T)>
    

    The keys with their items (KeyValues).

    Source

    lookup

    fn lookup(self: &Self, key: &K) -> Option<T>
    

    The item of key (Lookup).

    Source

    Trait implementations

    Availability

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