pub struct HistogramBins {
pub n_bins: usize,
pub bin_width: f64,
pub edges: Vec<f64>,
pub counts: Vec<usize>,
}Expand description
Result of histogram bin computation.
Fields§
§n_bins: usizeNumber of bins.
bin_width: f64Bin width.
edges: Vec<f64>Bin edges (length = n_bins + 1).
counts: Vec<usize>Bin counts.
Trait Implementations§
Source§impl Clone for HistogramBins
impl Clone for HistogramBins
Source§fn clone(&self) -> HistogramBins
fn clone(&self) -> HistogramBins
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 HistogramBins
impl RefUnwindSafe for HistogramBins
impl Send for HistogramBins
impl Sync for HistogramBins
impl Unpin for HistogramBins
impl UnsafeUnpin for HistogramBins
impl UnwindSafe for HistogramBins
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