pub struct DistributionStats {
pub mean: Vec<f32>,
pub variance: Vec<f32>,
pub count: usize,
}Expand description
Statistics for tracking distribution characteristics
Fields§
§mean: Vec<f32>Running mean of query vectors
variance: Vec<f32>Running variance of query vectors
count: usizeNumber of samples used to compute statistics
Implementations§
Trait Implementations§
Source§impl Clone for DistributionStats
impl Clone for DistributionStats
Source§fn clone(&self) -> DistributionStats
fn clone(&self) -> DistributionStats
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 DistributionStats
impl RefUnwindSafe for DistributionStats
impl Send for DistributionStats
impl Sync for DistributionStats
impl Unpin for DistributionStats
impl UnsafeUnpin for DistributionStats
impl UnwindSafe for DistributionStats
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