FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Group

    struct · ferroui-dynamic-data · v0.5.0

    struct Group<T, G>
    

    A group of the items of a list that share a group key (Group<TObject, TGroup>, the IGroup of the change sets of GroupOn): the grouping edits its list, 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 they hold this type, so it is public.

    View source

    Members

    group_key

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

    The group key (GroupKey).

    Source

    list

    fn list(self: &Self) -> Rc<dyn IObservableList<T>>
    

    The items of the group (List).

    Source

    ptr_eq

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

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

    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
    • ToString
    • Equivalent<K>
    • Clone
    • IGroup<T, G>
    • IDisposable
    • PartialEq
    • Eq
    • Hash
    • Display
    • Debug

    Availability

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