pub enum CriteriaPredicate {
Show 17 variants
Eq(LiteralValue),
Ne(LiteralValue),
Gt(f64),
Ge(f64),
Lt(f64),
Le(f64),
TextLike {
pattern: String,
case_insensitive: bool,
},
NotTextLike {
pattern: String,
case_insensitive: bool,
},
TextGt(String),
TextGe(String),
TextLt(String),
TextLe(String),
IsBlank,
NotBlank,
IsNumber,
IsText,
IsLogical,
}Variants§
Eq(LiteralValue)
Ne(LiteralValue)
Gt(f64)
Ge(f64)
Lt(f64)
Le(f64)
TextLike
NotTextLike
"<>a*": the complement of CriteriaPredicate::TextLike; numbers,
booleans, errors and blank cells match.
TextGt(String)
">b" and friends with a non-numeric operand: compares text cells
only (case-insensitive); other cells never match.
TextGe(String)
TextLt(String)
TextLe(String)
IsBlank
"=": a truly blank cell (not empty text).
NotBlank
"<>": any cell that is not truly blank (empty text matches).
IsNumber
IsText
IsLogical
Trait Implementations§
Source§impl Clone for CriteriaPredicate
impl Clone for CriteriaPredicate
Auto Trait Implementations§
impl Freeze for CriteriaPredicate
impl RefUnwindSafe for CriteriaPredicate
impl Send for CriteriaPredicate
impl Sync for CriteriaPredicate
impl Unpin for CriteriaPredicate
impl UnsafeUnpin for CriteriaPredicate
impl UnwindSafe for CriteriaPredicate
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more