pub struct Pred {
pub expr: ExprId,
pub scope: Scope,
pub location: ExprId,
}Expand description
A predicate or expression TLC evaluates for a role, with the context it
is evaluated in: TLC’s tlc2.tool.Action (pred, con).
Fields§
§expr: ExprIdThe expression.
scope: ScopeWhere it is evaluated (operator parameters, split \E variables,
instance substitutions).
location: ExprIdThe node TLC reports the role’s location from: the expression, or the
outermost instance substitution TLC wrapped around it
(Specs.addSubsts).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Pred
impl !UnwindSafe for Pred
impl Forget for Pred
impl Freeze for Pred
impl Move for Pred
impl Send for Pred
impl Sync for Pred
impl Unpin for Pred
impl UnsafeUnpin for Pred
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