AggregateFn

Trait AggregateFn 

Source
pub trait AggregateFn: Default {
    // Required method
    fn aggregate(&mut self, score: f32, total: &mut f32);

    // Provided method
    fn post_aggregate(&mut self, _total: &mut f32) { ... }
}

Required Methods§

Source

fn aggregate(&mut self, score: f32, total: &mut f32)

Provided Methods§

Source

fn post_aggregate(&mut self, _total: &mut f32)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§