pub struct DimensionContribution {
pub index: usize,
pub absolute_change: f32,
pub relative_contribution: f32,
}Expand description
A single dimension’s contribution to overall drift.
Fields§
§index: usizeDimension index.
absolute_change: f32Absolute change in this dimension.
relative_contribution: f32Fraction of total L2² explained by this dimension.
Trait Implementations§
Source§impl Clone for DimensionContribution
impl Clone for DimensionContribution
Source§fn clone(&self) -> DimensionContribution
fn clone(&self) -> DimensionContribution
Returns a copy 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 DimensionContribution
impl RefUnwindSafe for DimensionContribution
impl Send for DimensionContribution
impl Sync for DimensionContribution
impl Unpin for DimensionContribution
impl UnwindSafe for DimensionContribution
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