pub trait ArrayIndex {
// Required method
fn index<T>(&self, array: &Array<T>) -> i32;
}
Expand description
A trait implemented by types that can index into an Array
.
Required Methods§
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.