FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Group

    struct · ferroui-dynamic-data · v0.5.0

    struct Group<T, K, G>
    

    A group of the items of a cache that share a group key (ManagedGroup<TObject, TKey, TGroupKey>, the IGroup of the change sets of Group): the grouping operators edit its cache, and its observers watch it. A clone is the same group.

    Deviation (DEVIATIONS.md, DynamicData): upstream's class is internal and its change sets hold the interface IGroup; here the change sets hold this type, so it is public, as Group.

    View source

    Members

    key

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

    The group key (Key).

    Source

    cache

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

    The items of the group (Cache).

    Source

    ptr_eq

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

    Whether self and other are the same group (ReferenceEquals).

    Source

    Trait implementations

    Availability

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