[][src]Struct vega_lite_4::RepeatMapping

pub struct RepeatMapping {
    pub column: Option<Vec<String>>,
    pub row: Option<Vec<String>>,
    pub layer: Option<Vec<String>>,
}

Definition for fields to be repeated. One of: 1) An array of fields to be repeated. If "repeat" is an array, the field can be referred to as {"repeat": "repeat"}. The repeated views are laid out in a wrapped row. You can set the number of columns to control the wrapping. 2) An object that maps "row" and/or "column" to the listed fields to be repeated along the particular orientations. The objects {"repeat": "row"} and {"repeat": "column"} can be used to refer to the repeated field respectively.

Fields

column: Option<Vec<String>>

An array of fields to be repeated horizontally.

row: Option<Vec<String>>

An array of fields to be repeated vertically.

layer: Option<Vec<String>>

An array of fields to be repeated as layers.

Trait Implementations

impl Clone for RepeatMapping[src]

impl Debug for RepeatMapping[src]

impl Default for RepeatMapping[src]

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

impl From<RepeatMapping> for RepeatUnion[src]

impl Serialize for RepeatMapping[src]

Auto Trait Implementations

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: for<'de> 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.