pub enum PredicateOp {
Eq,
Ne,
StartsWith,
EndsWith,
Contains,
RegexMatch,
RegexNoMatch,
}Expand description
Predicate operator for node text filtering.
Variants§
Eq
== - equals
Ne
!= - not equals
StartsWith
^= - starts with
EndsWith
$= - ends with
Contains
*= - contains
RegexMatch
=~ - regex match
RegexNoMatch
!~ - regex no match
Implementations§
Trait Implementations§
Source§impl Clone for PredicateOp
impl Clone for PredicateOp
Source§fn clone(&self) -> PredicateOp
fn clone(&self) -> PredicateOp
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PredicateOp
impl Debug for PredicateOp
Source§impl Hash for PredicateOp
impl Hash for PredicateOp
Source§impl PartialEq for PredicateOp
impl PartialEq for PredicateOp
impl Copy for PredicateOp
impl Eq for PredicateOp
impl StructuralPartialEq for PredicateOp
Auto Trait Implementations§
impl Freeze for PredicateOp
impl RefUnwindSafe for PredicateOp
impl Send for PredicateOp
impl Sync for PredicateOp
impl Unpin for PredicateOp
impl UnwindSafe for PredicateOp
Blanket Implementations§
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.