pub struct Plot { /* private fields */ }Expand description
A function plot. Derefs to its Path, so .draw_on(), .stroke()
and .line_width() work as on any path.
Implementations§
Source§impl Plot
impl Plot
Sourcepub fn stroke(self, paint: impl IntoPaint) -> Self
pub fn stroke(self, paint: impl IntoPaint) -> Self
Line color: a theme role such as Accent, or a color.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Plot
impl !Send for Plot
impl !Sync for Plot
impl !UnwindSafe for Plot
impl Freeze for Plot
impl Unpin for Plot
impl UnsafeUnpin for Plot
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