pub struct Semantics {
pub string_order: StringOrder,
pub int_mode: IntMode,
pub tlc_comparisons: bool,
pub tlc_exploration: bool,
}Expand description
The value semantics of a run, fixed for the store’s life: the default
profile’s, or --compat=tlc’s (Semantics::tlc).
Fields§
§string_order: StringOrderHow strings compare.
int_mode: IntModeThe integer semantics every heap on the store starts with.
tlc_comparisons: boolTLC’s comparisons (--comparisons=tlc) rather than TLA+’s: where
TLC’s equals, compareTo or member may fail or answer otherwise
than TLA+, the core refuses (compare.rs).
tlc_exploration: boolTLC’s exploration order (--explore-order=tlc, A6): x' \in S
binds in the order of TLC’s elements(), which the core follows
where it is the normalized order and refuses elsewhere.
Implementations§
Trait Implementations§
impl Copy for Semantics
impl Eq for Semantics
impl StructuralPartialEq for Semantics
Auto Trait Implementations§
impl Forget for Semantics
impl Freeze for Semantics
impl Move for Semantics
impl RefUnwindSafe for Semantics
impl Send for Semantics
impl Sync for Semantics
impl Unpin for Semantics
impl UnsafeUnpin for Semantics
impl UnwindSafe for Semantics
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