[][src]Enum vega_lite_3::Padding

pub enum Padding {
    Double(f64),
    PaddingClass(PaddingClass),
}

The default visualization padding, in pixels, from the edge of the visualization canvas to the data rectangle. If a number, specifies padding for all sides. If an object, the value should have the format {"left": 5, "top": 5, "right": 5, "bottom": 5} to specify padding for each side of the visualization.

Default value: 5

Variants

Double(f64)
PaddingClass(PaddingClass)

Trait Implementations

impl Clone for Padding[src]

impl Debug for Padding[src]

impl<'de> Deserialize<'de> for Padding[src]

impl From<PaddingClass> for Padding[src]

impl From<f64> for Padding[src]

impl Serialize for Padding[src]

Auto Trait Implementations

impl RefUnwindSafe for Padding

impl Send for Padding

impl Sync for Padding

impl Unpin for Padding

impl UnwindSafe for Padding

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.