Struct plt_draw::CurveDescriptor
source · [−]pub struct CurveDescriptor<'a> {
pub points: Vec<Point>,
pub line_width: u32,
pub line_color: Color,
pub dashes: &'a [f64],
pub clip_area: Option<Area>,
}
Fields
points: Vec<Point>
Where to draw the curve
line_width: u32
The width of the line.
line_color: Color
The color of the line.
dashes: &'a [f64]
How the line will be dashed.
clip_area: Option<Area>
Optionally clip drawing to some area.
Trait Implementations
sourceimpl<'a> Clone for CurveDescriptor<'a>
impl<'a> Clone for CurveDescriptor<'a>
sourcefn clone(&self) -> CurveDescriptor<'a>
fn clone(&self) -> CurveDescriptor<'a>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for CurveDescriptor<'a>
impl<'a> Debug for CurveDescriptor<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for CurveDescriptor<'a>
impl<'a> Send for CurveDescriptor<'a>
impl<'a> Sync for CurveDescriptor<'a>
impl<'a> Unpin for CurveDescriptor<'a>
impl<'a> UnwindSafe for CurveDescriptor<'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