pub trait IndexSpec<Idx>: Index<Idx>where
Idx: ?Sized,{
// Required method
spec fn index_req(&self, index: &Idx) -> bool;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".