Enum nextest_filtering::ParsedExpr
source · pub enum ParsedExpr<S = SourceSpan> {
Not(NotOperator, Box<ParsedExpr<S>>),
Union(OrOperator, Box<ParsedExpr<S>>, Box<ParsedExpr<S>>),
Intersection(AndOperator, Box<ParsedExpr<S>>, Box<ParsedExpr<S>>),
Difference(DifferenceOperator, Box<ParsedExpr<S>>, Box<ParsedExpr<S>>),
Parens(Box<ParsedExpr<S>>),
Set(SetDef<S>),
}Expand description
A filter expression that hasn’t been compiled against a package graph.
Variants§
Not(NotOperator, Box<ParsedExpr<S>>)
Union(OrOperator, Box<ParsedExpr<S>>, Box<ParsedExpr<S>>)
Intersection(AndOperator, Box<ParsedExpr<S>>, Box<ParsedExpr<S>>)
Difference(DifferenceOperator, Box<ParsedExpr<S>>, Box<ParsedExpr<S>>)
Parens(Box<ParsedExpr<S>>)
Set(SetDef<S>)
Implementations§
source§impl ParsedExpr
impl ParsedExpr
Trait Implementations§
source§impl<S: Clone> Clone for ParsedExpr<S>
impl<S: Clone> Clone for ParsedExpr<S>
source§fn clone(&self) -> ParsedExpr<S>
fn clone(&self) -> ParsedExpr<S>
Returns a copy 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<S: Debug> Debug for ParsedExpr<S>
impl<S: Debug> Debug for ParsedExpr<S>
source§impl<S> Display for ParsedExpr<S>
impl<S> Display for ParsedExpr<S>
source§impl<S: PartialEq> PartialEq<ParsedExpr<S>> for ParsedExpr<S>
impl<S: PartialEq> PartialEq<ParsedExpr<S>> for ParsedExpr<S>
source§fn eq(&self, other: &ParsedExpr<S>) -> bool
fn eq(&self, other: &ParsedExpr<S>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<S: Eq> Eq for ParsedExpr<S>
impl<S> StructuralEq for ParsedExpr<S>
impl<S> StructuralPartialEq for ParsedExpr<S>
Auto Trait Implementations§
impl<S> RefUnwindSafe for ParsedExpr<S>where S: RefUnwindSafe,
impl<S> Send for ParsedExpr<S>where S: Send,
impl<S> Sync for ParsedExpr<S>where S: Sync,
impl<S> Unpin for ParsedExpr<S>where S: Unpin,
impl<S> UnwindSafe for ParsedExpr<S>where S: UnwindSafe,
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.