FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IGroup

    trait · ferroui-dynamic-data · v0.5.0

    trait IGroup<T, K, G>
    

    A group of the items of a cache that share a group key, with the cache of those items (IGroup<TObject, TKey, TGroupKey>): the items of the change sets of Group, GroupOnObservable and GroupOnProperty.

    Deviation (DEVIATIONS.md, DynamicData): the change sets of groups hold the concrete Group, which implements this trait, rather than the interface: a change set holds its items by value.

    View source

    Members

    key

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

    The group key (Key, of IKey<TGroupKey>).

    Source

    cache

    fn cache(self: &Self) -> Rc<dyn IObservableCache<T, K>>
    

    The items of the group, as a cache that can be observed (Cache).

    Source

    Trait implementations

    Availability

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