Struct vega_lite_4::RepeatMappingBuilder
source · pub struct RepeatMappingBuilder { /* private fields */ }
Expand description
Builder for RepeatMapping
.
Implementations§
source§impl RepeatMappingBuilder
impl RepeatMappingBuilder
sourcepub fn column<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn column<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
An array of fields to be repeated horizontally.
sourcepub fn row<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn row<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
An array of fields to be repeated vertically.
sourcepub fn layer<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn layer<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
An array of fields to be repeated as layers.
sourcepub fn build(&self) -> Result<RepeatMapping, RepeatMappingBuilderError>
pub fn build(&self) -> Result<RepeatMapping, RepeatMappingBuilderError>
Trait Implementations§
source§impl Clone for RepeatMappingBuilder
impl Clone for RepeatMappingBuilder
source§fn clone(&self) -> RepeatMappingBuilder
fn clone(&self) -> RepeatMappingBuilder
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 moreAuto Trait Implementations§
impl RefUnwindSafe for RepeatMappingBuilder
impl Send for RepeatMappingBuilder
impl Sync for RepeatMappingBuilder
impl Unpin for RepeatMappingBuilder
impl UnwindSafe for RepeatMappingBuilder
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