pub struct Action { /* private fields */ }Expand description
One initial predicate or next-state action with its context (TLC’s
Action): an expression, the bindings it is evaluated under, its name
and its label.
Implementations§
Source§impl Action
impl Action
Sourcepub fn scope(&self) -> Scope
pub fn scope(&self) -> Scope
The captured evaluation context, for conservative backend preflight. Reading the context does not evaluate or force any captured value.
Sourcepub fn name(&self) -> ActionName
pub fn name(&self) -> ActionName
What the action is named after.
Sourcepub fn params(&self) -> &[(String, Value)]
pub fn params(&self) -> &[(String, Value)]
The values of the named definition’s parameters bound by splitting,
in parameter order (TLC’s Action.getParameters).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Action
impl !UnwindSafe for Action
impl Forget for Action
impl Freeze for Action
impl Move for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
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