pub struct BooleanDigitalPlot<'a> { /* private fields */ }Expand description
Digital plot for boolean data (true/false converted to 1.0/0.0)
Implementations§
Source§impl<'a> BooleanDigitalPlot<'a>
impl<'a> BooleanDigitalPlot<'a>
Sourcepub fn new(label: &'a str, x_data: &'a [f64], y_data: &'a [bool]) -> Self
pub fn new(label: &'a str, x_data: &'a [f64], y_data: &'a [bool]) -> Self
Create a new digital plot with boolean data
Sourcepub fn with_flags(self, flags: DigitalFlags) -> Self
pub fn with_flags(self, flags: DigitalFlags) -> Self
Set digital flags for customization
Trait Implementations§
Source§impl<'a> PlotData for BooleanDigitalPlot<'a>
impl<'a> PlotData for BooleanDigitalPlot<'a>
Auto Trait Implementations§
impl<'a> Freeze for BooleanDigitalPlot<'a>
impl<'a> RefUnwindSafe for BooleanDigitalPlot<'a>
impl<'a> Send for BooleanDigitalPlot<'a>
impl<'a> Sync for BooleanDigitalPlot<'a>
impl<'a> Unpin for BooleanDigitalPlot<'a>
impl<'a> UnwindSafe for BooleanDigitalPlot<'a>
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