pub struct AverageReducer;Expand description
Element-wise averaging reducer used by Bundle::assemble.
§Preconditions
Callers must ensure input slices have identical lengths before invoking
SliceReducer::accumulate; see Bundle::assemble_with.
Trait Implementations§
Source§impl Clone for AverageReducer
impl Clone for AverageReducer
Source§fn clone(&self) -> AverageReducer
fn clone(&self) -> AverageReducer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AverageReducer
Source§impl Debug for AverageReducer
impl Debug for AverageReducer
Source§impl Default for AverageReducer
impl Default for AverageReducer
Source§fn default() -> AverageReducer
fn default() -> AverageReducer
Returns the “default value” for a type. Read more
Source§impl<V> SliceReducer<V> for AverageReducer
impl<V> SliceReducer<V> for AverageReducer
Auto Trait Implementations§
impl Freeze for AverageReducer
impl RefUnwindSafe for AverageReducer
impl Send for AverageReducer
impl Sync for AverageReducer
impl Unpin for AverageReducer
impl UnsafeUnpin for AverageReducer
impl UnwindSafe for AverageReducer
Blanket Implementations§
Source§impl<T> AccumulatePathExt for T
impl<T> AccumulatePathExt for T
fn accumulate_path<O, I>(path: I) -> Owhere
O: Orientation,
I: IntoIterator<Item = O>,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more