Struct plotly::layout::ActiveShape[][src]

pub struct ActiveShape { /* fields omitted */ }

Implementations

impl ActiveShape[src]

pub fn new() -> ActiveShape[src]

pub fn fill_color<C: Color>(self, fill_color: C) -> ActiveShape[src]

Sets the color filling the active shape' interior.

pub fn opacity(self, opacity: f64) -> ActiveShape[src]

Sets the opacity of the active shape. Number between or equal to 0 and 1.

Trait Implementations

impl Debug for ActiveShape[src]

impl Default for ActiveShape[src]

impl Serialize for ActiveShape[src]

Auto Trait Implementations

impl RefUnwindSafe for ActiveShape[src]

impl Send for ActiveShape[src]

impl Sync for ActiveShape[src]

impl Unpin for ActiveShape[src]

impl UnwindSafe for ActiveShape[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]