pub trait AggregateValue: Copy + 'static {
type Number: AggregateNumber;
// Required method
fn number(self) -> Self::Number;
}Expand description
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()).
Required Associated Types§
Sourcetype Number: AggregateNumber
type Number: AggregateNumber
The number the value counts as.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".