[−][src]Struct vega_lite_4::PredicateBuilder
Builder for Predicate
.
Implementations
impl PredicateBuilder
[src]
pub fn not<VALUE: Into<ConditionalValueDefNumberExprRefPredicateComposition>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn and<VALUE: Into<Vec<PredicateCompositionElement>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn or<VALUE: Into<Vec<PredicateCompositionElement>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn equal<VALUE: Into<Equal>>(&mut self, value: VALUE) -> &mut Self
[src]
The value that the field should be equal to.
pub fn field<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
Field to be tested.
pub fn time_unit<VALUE: Into<TimeUnitUnion>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
Time unit for the field to be tested.
pub fn range<VALUE: Into<LogicalNotPredicateRange>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
An array of inclusive minimum and maximum values for a field value of a data item to be included in the filtered data.
pub fn one_of<VALUE: Into<Vec<SelectionInitInterval>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
A set of values that the field
's value should be a member of, for a data item included
in the filtered data.
pub fn lt<VALUE: Into<Lt>>(&mut self, value: VALUE) -> &mut Self
[src]
The value that the field should be less than.
pub fn gt<VALUE: Into<Lt>>(&mut self, value: VALUE) -> &mut Self
[src]
The value that the field should be greater than.
pub fn lte<VALUE: Into<Lt>>(&mut self, value: VALUE) -> &mut Self
[src]
The value that the field should be less than or equals to.
pub fn gte<VALUE: Into<Lt>>(&mut self, value: VALUE) -> &mut Self
[src]
The value that the field should be greater than or equals to.
pub fn valid<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
[src]
If set to true the field's value has to be valid, meaning both not null
and not
NaN
.
pub fn selection<VALUE: Into<Box<ConditionalValueDefNumberExprRefSelectionComposition>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
Filter using a selection name or a logical composition of selection names.
pub fn build(&self) -> Result<Predicate, String>
[src]
Trait Implementations
impl Clone for PredicateBuilder
[src]
pub fn clone(&self) -> PredicateBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for PredicateBuilder
[src]
pub fn default() -> PredicateBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for PredicateBuilder
[src]
impl Send for PredicateBuilder
[src]
impl Sync for PredicateBuilder
[src]
impl Unpin for PredicateBuilder
[src]
impl UnwindSafe for PredicateBuilder
[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>,