[−][src]Struct vega_lite_3::PredicateBuilder
Builder for Predicate
.
Methods
impl PredicateBuilder
[src]
pub fn not<VALUE: Into<Box<PurpleLogicalOperandPredicate>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn and<VALUE: Into<Vec<LogicalOperandPredicateElement>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn or<VALUE: Into<Vec<LogicalOperandPredicateElement>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn equal<VALUE: Into<EqualUnion>>(&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 filtered.
pub fn time_unit<VALUE: Into<TimeUnit>>(&mut self, value: VALUE) -> &mut Self
[src]
Time unit for the field to be filtered.
pub fn range<VALUE: Into<Vec<Option<RangeElement>>>>(
&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<SelectionInitIntervalElement>>>(
&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<PurpleSelectionOperand>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
Filter using a selection name.
pub fn build(&self) -> Result<Predicate, String>
[src]
Trait Implementations
impl Clone for PredicateBuilder
[src]
fn clone(&self) -> PredicateBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for PredicateBuilder
[src]
fn default() -> PredicateBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for PredicateBuilder
impl Send for PredicateBuilder
impl Sync for PredicateBuilder
impl Unpin for PredicateBuilder
impl UnwindSafe for PredicateBuilder
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>,