pub trait ValueInvariant<V> {
// Required method
spec fn inv(value: V) -> bool;
}Expand description
A resource invariant that only considers the value.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".