Struct plotly::layout::Margin[][src]

pub struct Margin { /* fields omitted */ }

Implementations

impl Margin[src]

pub fn new() -> Margin[src]

pub fn left(self, left: usize) -> Margin[src]

pub fn right(self, right: usize) -> Margin[src]

pub fn top(self, top: usize) -> Margin[src]

pub fn bottom(self, bottom: usize) -> Margin[src]

pub fn pad(self, pad: usize) -> Margin[src]

pub fn auto_expand(self, auto_expand: bool) -> Margin[src]

Trait Implementations

impl Debug for Margin[src]

impl Default for Margin[src]

impl Serialize for Margin[src]

Auto Trait Implementations

impl RefUnwindSafe for Margin[src]

impl Send for Margin[src]

impl Sync for Margin[src]

impl Unpin for Margin[src]

impl UnwindSafe for Margin[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]