Struct embedded_plots::curve::DrawableCurve
source · [−]pub struct DrawableCurve<C, I> { /* private fields */ }Expand description
Drawable curve object, constructed for specific display
Implementations
sourceimpl<C, I> DrawableCurve<C, I> where
C: PixelColor,
I: Iterator<Item = Point>,
impl<C, I> DrawableCurve<C, I> where
C: PixelColor,
I: Iterator<Item = Point>,
builder methods to modify curve decoration
sourcepub fn set_color(self, color: C) -> DrawableCurve<C, I>
pub fn set_color(self, color: C) -> DrawableCurve<C, I>
set curve color
sourcepub fn set_thickness(self, thickness: usize) -> DrawableCurve<C, I>
pub fn set_thickness(self, thickness: usize) -> DrawableCurve<C, I>
set curve line thickness
Trait Implementations
sourceimpl<C, I> Drawable<C> for DrawableCurve<C, I> where
C: PixelColor + Default,
I: Iterator<Item = Point>,
impl<C, I> Drawable<C> for DrawableCurve<C, I> where
C: PixelColor + Default,
I: Iterator<Item = Point>,
Auto Trait Implementations
impl<C, I> RefUnwindSafe for DrawableCurve<C, I> where
C: RefUnwindSafe,
I: RefUnwindSafe,
impl<C, I> Send for DrawableCurve<C, I> where
C: Send,
I: Send,
impl<C, I> Sync for DrawableCurve<C, I> where
C: Sync,
I: Sync,
impl<C, I> Unpin for DrawableCurve<C, I> where
C: Unpin,
I: Unpin,
impl<C, I> UnwindSafe for DrawableCurve<C, I> where
C: UnwindSafe,
I: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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