pub enum AstVerifyFormula {
InState {
state_name: String,
},
Not {
inner: Box<AstVerifyFormula>,
},
And {
left: Box<AstVerifyFormula>,
right: Box<AstVerifyFormula>,
},
Or {
left: Box<AstVerifyFormula>,
right: Box<AstVerifyFormula>,
},
Implies {
left: Box<AstVerifyFormula>,
right: Box<AstVerifyFormula>,
},
Always {
inner: Box<AstVerifyFormula>,
},
Eventually {
inner: Box<AstVerifyFormula>,
},
LeadsTo {
left: Box<AstVerifyFormula>,
right: Box<AstVerifyFormula>,
},
Compare {
left: Box<AstVerifyFormula>,
op: String,
right: Box<AstVerifyFormula>,
},
FieldRef {
path: Vec<String>,
},
Literal {
value: AstLiteralValue,
},
}Expand description
A verify formula — simplified temporal logic expression
Variants§
InState
Not
Fields
§
inner: Box<AstVerifyFormula>And
Or
Implies
Always
Fields
§
inner: Box<AstVerifyFormula>Eventually
Fields
§
inner: Box<AstVerifyFormula>LeadsTo
Compare
FieldRef
Literal
Fields
§
value: AstLiteralValueTrait Implementations§
Source§impl Clone for AstVerifyFormula
impl Clone for AstVerifyFormula
Source§fn clone(&self) -> AstVerifyFormula
fn clone(&self) -> AstVerifyFormula
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 AstVerifyFormula
impl Debug for AstVerifyFormula
Source§impl PartialEq for AstVerifyFormula
impl PartialEq for AstVerifyFormula
impl StructuralPartialEq for AstVerifyFormula
Auto Trait Implementations§
impl Freeze for AstVerifyFormula
impl RefUnwindSafe for AstVerifyFormula
impl Send for AstVerifyFormula
impl Sync for AstVerifyFormula
impl Unpin for AstVerifyFormula
impl UnsafeUnpin for AstVerifyFormula
impl UnwindSafe for AstVerifyFormula
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