pub struct Ctx {
pub int_mode: IntMode,
pub order: ValueOrder,
}Expand description
The value semantics of one run. Cheap to copy; pass it to every operation that may compare, normalize, enumerate or print values.
All values compared within a run must have been built under the same Ctx and
the same Interner: sets are kept sorted in the run’s order.
Fields§
§int_mode: IntModeThe integer semantics.
order: ValueOrderThe order of names, and so of all values.
Implementations§
Trait Implementations§
impl Copy for Ctx
impl Eq for Ctx
impl StructuralPartialEq for Ctx
Auto Trait Implementations§
impl Forget for Ctx
impl Freeze for Ctx
impl Move for Ctx
impl RefUnwindSafe for Ctx
impl Send for Ctx
impl Sync for Ctx
impl Unpin for Ctx
impl UnsafeUnpin for Ctx
impl UnwindSafe for Ctx
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