pub struct Line<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Line<'a>
impl<'a> Line<'a>
Sourcepub fn color(&mut self, color: &'a str) -> &mut Self
pub fn color(&mut self, color: &'a str) -> &mut Self
Sets the color of the contour level. Has no effect if contours.coloring
is set to lines.
Sourcepub fn width(&mut self, width: f64) -> &mut Self
pub fn width(&mut self, width: f64) -> &mut Self
Sets the contour line width in (in px)
default: 0.5
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Line<'a>
impl<'a> RefUnwindSafe for Line<'a>
impl<'a> Send for Line<'a>
impl<'a> Sync for Line<'a>
impl<'a> Unpin for Line<'a>
impl<'a> UnwindSafe for Line<'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