pub struct AvgState {
pub sum: f64,
pub count: u64,
}Expand description
Pair-wise additive state used by AvgMonoid.
Fields§
§sum: f64§count: u64Trait Implementations§
impl Copy for AvgState
impl StructuralPartialEq for AvgState
Auto Trait Implementations§
impl Freeze for AvgState
impl RefUnwindSafe for AvgState
impl Send for AvgState
impl Sync for AvgState
impl Unpin for AvgState
impl UnsafeUnpin for AvgState
impl UnwindSafe for AvgState
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