[][src]Struct plotlib::style::LineStyle

pub struct LineStyle {
    pub colour: Option<String>,
    pub width: Option<f32>,
    pub linejoin: Option<LineJoin>,


colour: Option<String>width: Option<f32>linejoin: Option<LineJoin>


impl LineStyle[src]

pub fn new() -> Self[src]

pub fn overlay(&mut self, other: &Self)[src]

pub fn colour<T>(self, value: T) -> Self where
    T: Into<String>, 

pub fn get_colour(&self) -> String[src]

pub fn width<T>(self, value: T) -> Self where
    T: Into<f32>, 

pub fn get_width(&self) -> f32[src]

pub fn linejoin<T>(self, value: T) -> Self where
    T: Into<LineJoin>, 

pub fn get_linejoin(&self) -> LineJoin[src]

Trait Implementations

impl Clone for LineStyle[src]

impl Debug for LineStyle[src]

impl Default for LineStyle[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.