Enum moore_svlog_syntax::ast::EventExpr
[−]
[src]
pub enum EventExpr {
Edge {
span: Span,
edge: EdgeIdent,
value: Expr,
},
Iff {
span: Span,
expr: Box<EventExpr>,
cond: Expr,
},
Or {
span: Span,
lhs: Box<EventExpr>,
rhs: Box<EventExpr>,
},
}Variants
EdgeFields of Edge
span: Span | |
edge: EdgeIdent | |
value: Expr |
IffFields of Iff
span: Span | |
expr: Box<EventExpr> | |
cond: Expr |
OrFields of Or
span: Span | |
lhs: Box<EventExpr> | |
rhs: Box<EventExpr> |
Methods
impl EventExpr[src]
Trait Implementations
impl Debug for EventExpr[src]
impl Clone for EventExpr[src]
fn clone(&self) -> EventExpr[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for EventExpr[src]
fn eq(&self, __arg_0: &EventExpr) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &EventExpr) -> bool[src]
This method tests for !=.
impl Eq for EventExpr[src]
impl Encodable for EventExpr[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>[src]
Serialize a value using an Encoder.