pub struct Line { /* private fields */ }Implementations
sourceimpl Line
impl Line
pub fn new() -> Self
pub fn width(self, width: f64) -> Self
pub fn shape(self, shape: LineShape) -> Self
pub fn smoothing(self, smoothing: f64) -> Self
pub fn dash(self, dash: DashType) -> Self
pub fn simplify(self, simplify: bool) -> Self
pub fn color<C: Color>(self, color: C) -> Self
pub fn cauto(self, cauto: bool) -> Self
pub fn cmin(self, cmin: f64) -> Self
pub fn cmax(self, cmax: f64) -> Self
pub fn cmid(self, cmid: f64) -> Self
pub fn color_scale(self, color_scale: ColorScale) -> Self
pub fn auto_color_scale(self, auto_color_scale: bool) -> Self
pub fn reverse_scale(self, reverse_scale: bool) -> Self
pub fn outlier_color<C: Color>(self, outlier_color: C) -> Self
pub fn outlier_width(self, outlier_width: usize) -> Self
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Line
impl Send for Line
impl Sync for Line
impl Unpin for Line
impl !UnwindSafe for Line
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