pub trait SimpleResourceInvariant<V> {
type Resource;
// Required method
spec fn inv(value: V, resource: Self::Resource) -> bool;
}Expand description
A resource invariant that does not need a constant.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".