pub enum Cond {
Rel(Expr, RelOp, Expr),
Class(Expr, Class),
Name(Ref),
NameOrRel {
subject: Expr,
op: RelOp,
name: Ref,
},
Not(Box<Cond>),
And(Box<Cond>, Box<Cond>),
Or(Box<Cond>, Box<Cond>),
}Variants§
Rel(Expr, RelOp, Expr)
Class(Expr, Class)
Name(Ref)
NameOrRel
After AND or OR, a bare name that is either a condition-name or the object of an abbreviated relation; which one depends on what the name resolves to.
Not(Box<Cond>)
And(Box<Cond>, Box<Cond>)
Or(Box<Cond>, Box<Cond>)
Trait Implementations§
impl Eq for Cond
impl StructuralPartialEq for Cond
Auto Trait Implementations§
impl Freeze for Cond
impl RefUnwindSafe for Cond
impl Send for Cond
impl Sync for Cond
impl Unpin for Cond
impl UnsafeUnpin for Cond
impl UnwindSafe for Cond
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