pub struct HistogramChannel { /* private fields */ }Expand description
One series of a Histogram: ready-made bins and the color that shows them.
Implementations§
Source§impl HistogramChannel
impl HistogramChannel
Sourcepub fn new(
label: impl Into<String>,
color: Color,
bins: impl IntoIterator<Item = impl Into<f64>>,
) -> HistogramChannel
pub fn new( label: impl Into<String>, color: Color, bins: impl IntoIterator<Item = impl Into<f64>>, ) -> HistogramChannel
A filled channel. color is data: it is drawn as given.
Sourcepub fn line(self) -> HistogramChannel
pub fn line(self) -> HistogramChannel
Draws this channel as a line over the filled ones, such as luminance.
Trait Implementations§
Source§impl Clone for HistogramChannel
impl Clone for HistogramChannel
Source§fn clone(&self) -> HistogramChannel
fn clone(&self) -> HistogramChannel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HistogramChannel
impl Debug for HistogramChannel
Source§impl PartialEq for HistogramChannel
impl PartialEq for HistogramChannel
impl StructuralPartialEq for HistogramChannel
Auto Trait Implementations§
impl !Send for HistogramChannel
impl !Sync for HistogramChannel
impl Freeze for HistogramChannel
impl RefUnwindSafe for HistogramChannel
impl Unpin for HistogramChannel
impl UnsafeUnpin for HistogramChannel
impl UnwindSafe for HistogramChannel
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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