Trait schema_analysis::traits::Aggregate[][src]

pub trait Aggregate<V: ?Sized> {
    fn aggregate(&mut self, value: &V);
}
Expand description

This trait defines an interface used for types that need to receive values one at a time to record something about them.

V is ?Sized to allow for Aggregator<str>. In the future a better borrowing API might be implemented.

Required methods

Run the internal logic on value

Implementors