Struct vega_lite_4::BinExtentClassBuilder
source · pub struct BinExtentClassBuilder { /* private fields */ }
Expand description
Builder for BinExtentClass
.
Implementations§
source§impl BinExtentClassBuilder
impl BinExtentClassBuilder
sourcepub fn field<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn field<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The field name to extract selected values for, when a selection is projected over multiple fields or encodings.
sourcepub fn selection<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn selection<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The name of a selection.
sourcepub fn encoding<VALUE: Into<SingleDefUnitChannel>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn encoding<VALUE: Into<SingleDefUnitChannel>>( &mut self, value: VALUE ) -> &mut Self
The encoding channel to extract selected values for, when a selection is projected over multiple fields or encodings.
sourcepub fn build(&self) -> Result<BinExtentClass, BinExtentClassBuilderError>
pub fn build(&self) -> Result<BinExtentClass, BinExtentClassBuilderError>
Trait Implementations§
source§impl Clone for BinExtentClassBuilder
impl Clone for BinExtentClassBuilder
source§fn clone(&self) -> BinExtentClassBuilder
fn clone(&self) -> BinExtentClassBuilder
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 BinExtentClassBuilder
impl Send for BinExtentClassBuilder
impl Sync for BinExtentClassBuilder
impl Unpin for BinExtentClassBuilder
impl UnwindSafe for BinExtentClassBuilder
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