FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AggregateValue

    trait · ferroui-dynamic-data · v0.5.0

    trait AggregateValue: Copy + 'static
    

    The value a selector of Sum or Avg returns: a number, or an Option of a number whose None counts as zero (the nullable overloads, valueSelector(t).GetValueOrDefault()).

    View source

    Members

    Number

    type Number: AggregateNumber
    

    The number the value counts as.

    Source

    number

    fn number(self: Self) -> <Self as >::Number
    

    The number the value counts as: the value itself, or zero for a None.

    Source

    Trait implementations

    Availability

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