FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AggregateItem

    struct · ferroui-dynamic-data · v0.5.0

    struct AggregateItem<T>
    

    An item that is added to or removed from a continuous aggregation (AggregateItem<TObject>).

    Equality and hashing are those of the type and the item (upstream's IEquatable).

    View source

    Members

    new

    fn new(aggregate_type: AggregateType, item: T) -> Self
    

    An item of aggregate_type (AggregateItem(AggregateType, TObject)).

    Source

    aggregate_type

    fn aggregate_type(self: &Self) -> AggregateType
    

    Whether the item is added or removed (Type).

    Source

    item

    fn item(self: &Self) -> &T
    

    The item (Item).

    Source

    into_item

    fn into_item(self: Self) -> T
    

    The item, taken out.

    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
    • Equivalent<K>
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash

    Availability

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