[−][src]Struct vega_lite_4::DomainUnionWithBuilder
Builder for DomainUnionWith
.
Implementations
impl DomainUnionWithBuilder
[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<SingleDefUnitChannel>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The encoding channel to extract selected values for, when a selection is projected over multiple fields or encodings.
pub fn union_with<VALUE: Into<Vec<SelectionInitInterval>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
Customized domain values to be union with the field's values.
domain
for quantitative fields can take one of the following forms:
- a two-element array with minimum and maximum values. - an array with more than two
entries, for Piecewise quantitative
scales. (Alternatively, the
domainMid
property can be set for a diverging scale.) - a string value"unaggregated"
, if the input field is aggregated, to indicate that the domain should include the raw data values prior to the aggregation.
-
domain
for temporal fields can be a two-element array minimum and maximum values, in the form of either timestamps or the DateTime definition objects. -
domain
for ordinal and nominal fields can be an array that lists valid input values.
pub fn expr<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
Vega expression (which can refer to Vega-Lite parameters).
pub fn build(&self) -> Result<DomainUnionWith, String>
[src]
Trait Implementations
impl Clone for DomainUnionWithBuilder
[src]
pub fn clone(&self) -> DomainUnionWithBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for DomainUnionWithBuilder
[src]
pub fn default() -> DomainUnionWithBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for DomainUnionWithBuilder
[src]
impl Send for DomainUnionWithBuilder
[src]
impl Sync for DomainUnionWithBuilder
[src]
impl Unpin for DomainUnionWithBuilder
[src]
impl UnwindSafe for DomainUnionWithBuilder
[src]
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,