[][src]Struct plotly_types::traces::scattergeo::Line

pub struct Line<'a> { /* fields omitted */ }

Implementations

impl<'a> Line<'a>[src]

pub fn color(&mut self, color: &'a str) -> &mut Self[src]

Sets the line color.

pub fn width(&mut self, width: f64) -> &mut Self[src]

Sets the line width (in px).

default: 2

pub fn dash(&mut self, dash: &'a str) -> &mut Self[src]

Sets the dash style of lines. Set to a dash type string (solid, dot, dash, longdash, dashdot, or longdashdot) or a dash length list in px (eg 5px,10px,2px,2px).

default: solid

Trait Implementations

impl<'a> Default for Line<'a>[src]

impl<'a> Serialize for Line<'a>[src]

Auto Trait Implementations

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

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.