Struct schema_analysis::context::Aggregators
source · pub struct Aggregators<V: ?Sized>(pub Vec<Box<dyn CoalescingAggregator<V>>>);
Expand description
A collection of aggregators that should allow the user of the library to run arbitrary aggregation code on the data as it is being analyzed.
This is an experimental feature.
Tuple Fields§
§0: Vec<Box<dyn CoalescingAggregator<V>>>
Trait Implementations§
source§impl<V: ?Sized> Aggregate<V> for Aggregators<V>
impl<V: ?Sized> Aggregate<V> for Aggregators<V>
source§impl<T: ?Sized> Clone for Aggregators<T>
impl<T: ?Sized> Clone for Aggregators<T>
source§impl<T: ?Sized + 'static> Coalesce for Aggregators<T>
impl<T: ?Sized + 'static> Coalesce for Aggregators<T>
source§fn coalesce(&mut self, other: Aggregators<T>)where
Self: Sized,
fn coalesce(&mut self, other: Aggregators<T>)where
Self: Sized,
Merge
other
into self
.source§impl<T: ?Sized> Default for Aggregators<T>
impl<T: ?Sized> Default for Aggregators<T>
Auto Trait Implementations§
impl<V> !RefUnwindSafe for Aggregators<V>
impl<V: ?Sized> Send for Aggregators<V>
impl<V: ?Sized> Sync for Aggregators<V>
impl<V: ?Sized> Unpin for Aggregators<V>
impl<V> !UnwindSafe for Aggregators<V>
Blanket Implementations§
source§impl<T> CoalesceAny for Twhere
T: Coalesce + 'static,
impl<T> CoalesceAny for Twhere
T: Coalesce + 'static,
source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.