pub struct Bin {
pub label: String,
pub low: f64,
pub high: f64,
pub count: usize,
}Expand description
One histogram bin: [low, high), the last [low, high].
Fields§
§label: String[low, high) as the chart writes it.
low: f64The low edge.
high: f64The high edge.
count: usizeValues in the bin.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bin
impl<'de> Deserialize<'de> for Bin
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Bin
Auto Trait Implementations§
impl Freeze for Bin
impl RefUnwindSafe for Bin
impl Send for Bin
impl Sync for Bin
impl Unpin for Bin
impl UnsafeUnpin for Bin
impl UnwindSafe for Bin
Blanket Implementations§
impl<T> Allocation for T
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