pub trait NotSpec: Not {
// Required methods
spec fn obeys_not_spec() -> bool;
spec fn not_req(self) -> bool
where Self: Sized;
spec fn not_spec(self) -> Self::Output
where Self: Sized;
}
Required Methods§
Sourcespec fn obeys_not_spec() -> bool
spec fn obeys_not_spec() -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.