pub enum Shape<'a> {
Continuous(fn(_: f32) -> f32),
Lines(&'a [(f32, f32)]),
Steps(&'a [(f32, f32)]),
Bars(&'a [(f32, f32)]),
}
Expand description
Specifies different kinds of plotted data.
Variants
Continuous(fn(_: f32) -> f32)
Real value function
Lines(&'a [(f32, f32)])
Points connected with lines.
Steps(&'a [(f32, f32)])
Points connected in step fashion.
Bars(&'a [(f32, f32)])
Points represented with bars.
Auto Trait Implementations
impl<'a> RefUnwindSafe for Shape<'a>
impl<'a> Send for Shape<'a>
impl<'a> Sync for Shape<'a>
impl<'a> Unpin for Shape<'a>
impl<'a> UnwindSafe for Shape<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more