Expand description
Type invariants
See Invariant.
Structs§
Traits§
- Inhabited
Invariant - A type implements
InhabitedInvariantwhen its type invariant is inhabited. This is needed to define subset types. - Invariant
- A user-defined type invariant.
Functions§
- inv
- Whether the invariant of a value holds
Type Aliases§
- Guarded
Borrow - A mutable borrow, that asserts an invariant called the guard.