pub struct Density {
pub grid: Vec<f64>,
pub dens: Vec<f64>,
pub peak: f64,
}Expand description
One density curve: grid[i] (the value axis) carries density dens[i].
Fields§
§grid: Vec<f64>§dens: Vec<f64>§peak: f64Peak density (for normalising the silhouette width).
Trait Implementations§
impl StructuralPartialEq for Density
Auto Trait Implementations§
impl Freeze for Density
impl RefUnwindSafe for Density
impl Send for Density
impl Sync for Density
impl Unpin for Density
impl UnsafeUnpin for Density
impl UnwindSafe for Density
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