pub struct PlotSeries<'a> {
pub label: &'a str,
pub x: &'a [f64],
pub y: &'a [f64],
}Expand description
One curve: paired x and y samples, drawn as connected line segments.
Fields§
§label: &'a str§x: &'a [f64]§y: &'a [f64]Trait Implementations§
Source§impl<'a> Clone for PlotSeries<'a>
impl<'a> Clone for PlotSeries<'a>
Auto Trait Implementations§
impl<'a> Freeze for PlotSeries<'a>
impl<'a> RefUnwindSafe for PlotSeries<'a>
impl<'a> Send for PlotSeries<'a>
impl<'a> Sync for PlotSeries<'a>
impl<'a> Unpin for PlotSeries<'a>
impl<'a> UnsafeUnpin for PlotSeries<'a>
impl<'a> UnwindSafe for PlotSeries<'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