Struct vega_lite_4::RepeatMapping
source · pub struct RepeatMapping {
pub column: Option<Vec<String>>,
pub row: Option<Vec<String>>,
pub layer: Option<Vec<String>>,
}
Expand description
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§
source§impl Clone for RepeatMapping
impl Clone for RepeatMapping
source§fn clone(&self) -> RepeatMapping
fn clone(&self) -> RepeatMapping
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RepeatMapping
impl Debug for RepeatMapping
source§impl Default for RepeatMapping
impl Default for RepeatMapping
source§fn default() -> RepeatMapping
fn default() -> RepeatMapping
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RepeatMapping
impl<'de> Deserialize<'de> for RepeatMapping
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<RepeatMapping> for RepeatUnion
impl From<RepeatMapping> for RepeatUnion
source§fn from(original: RepeatMapping) -> RepeatUnion
fn from(original: RepeatMapping) -> RepeatUnion
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for RepeatMapping
impl Send for RepeatMapping
impl Sync for RepeatMapping
impl Unpin for RepeatMapping
impl UnwindSafe for RepeatMapping
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more