pub enum CompositeExpr {
Ref(MonitorRef),
Not(Box<CompositeExpr>),
Binary {
op: BoolOp,
lhs: Box<CompositeExpr>,
rhs: Box<CompositeExpr>,
},
}Expand description
A boolean tree over monitor-id references (composite monitors).
Variants§
Ref(MonitorRef)
A reference to another monitor by id.
Not(Box<CompositeExpr>)
Logical negation of a sub-expression.
Binary
A binary boolean combination.
Trait Implementations§
Source§impl Clone for CompositeExpr
impl Clone for CompositeExpr
Source§fn clone(&self) -> CompositeExpr
fn clone(&self) -> CompositeExpr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompositeExpr
impl Debug for CompositeExpr
Source§impl<'de> Deserialize<'de> for CompositeExpr
impl<'de> Deserialize<'de> for CompositeExpr
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CompositeExpr
Source§impl PartialEq for CompositeExpr
impl PartialEq for CompositeExpr
Source§fn eq(&self, other: &CompositeExpr) -> bool
fn eq(&self, other: &CompositeExpr) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CompositeExpr
impl Serialize for CompositeExpr
impl StructuralPartialEq for CompositeExpr
Auto Trait Implementations§
impl Freeze for CompositeExpr
impl RefUnwindSafe for CompositeExpr
impl Send for CompositeExpr
impl Sync for CompositeExpr
impl Unpin for CompositeExpr
impl UnsafeUnpin for CompositeExpr
impl UnwindSafe for CompositeExpr
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