[−][src]Struct vega_lite_3::DomainClassBuilder
Builder for DomainClass
.
Methods
impl DomainClassBuilder
[src]
pub fn field<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
The field name to extract selected values for, when a selection is projected over multiple fields or encodings.
pub fn selection<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
The name of a selection.
pub fn encoding<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
The encoding channel to extract selected values for, when a selection is projected over multiple fields or encodings.
pub fn build(&self) -> Result<DomainClass, String>
[src]
Trait Implementations
impl Clone for DomainClassBuilder
[src]
fn clone(&self) -> DomainClassBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for DomainClassBuilder
[src]
fn default() -> DomainClassBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for DomainClassBuilder
impl Send for DomainClassBuilder
impl Sync for DomainClassBuilder
impl Unpin for DomainClassBuilder
impl UnwindSafe for DomainClassBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,