pub struct BinInfo {
pub step: f64,
pub domain: [f64; 2],
pub bins: usize,
}Expand description
A histogram’s resolved bin layout, carried on Source for --meta: the bin
width (step), the snapped [lo, hi] domain, and the bin count (bins).
Enough for an agent to confirm the chart binned as it intended.
Fields§
§step: f64§domain: [f64; 2]§bins: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for BinInfo
impl RefUnwindSafe for BinInfo
impl Send for BinInfo
impl Sync for BinInfo
impl Unpin for BinInfo
impl UnsafeUnpin for BinInfo
impl UnwindSafe for BinInfo
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