pub enum ValueAccumulator {
Sum {
value: f64,
},
Avg {
sum: f64,
count: i64,
},
Count {
value: i64,
},
TimeMarker {
timestamp: u64,
},
Signature(u64),
LinearGradient {
count: i64,
mean_x: f64,
mean_y: f64,
m2: f64,
cov: f64,
},
Value(ElementValue),
}Variants§
Trait Implementations§
Source§impl Clone for ValueAccumulator
impl Clone for ValueAccumulator
Source§fn clone(&self) -> ValueAccumulator
fn clone(&self) -> ValueAccumulator
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ValueAccumulator
impl RefUnwindSafe for ValueAccumulator
impl Send for ValueAccumulator
impl Sync for ValueAccumulator
impl Unpin for ValueAccumulator
impl UnwindSafe for ValueAccumulator
Blanket Implementations§
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