pub struct ActionBody {
pub requires: Vec<Expr>,
pub effect: Option<Expr>,
pub span: Span,
}Expand description
Action body with requires and effects.
Fields§
§requires: Vec<Expr>Guard conditions (require expr).
effect: Option<Expr>Effect expression (state transition relation).
span: SpanTrait Implementations§
Source§impl Clone for ActionBody
impl Clone for ActionBody
Source§fn clone(&self) -> ActionBody
fn clone(&self) -> ActionBody
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 moreAuto Trait Implementations§
impl Freeze for ActionBody
impl RefUnwindSafe for ActionBody
impl Send for ActionBody
impl Sync for ActionBody
impl Unpin for ActionBody
impl UnwindSafe for ActionBody
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