pub trait ArrayIndex<'a> {
// Required method
fn index_op(self) -> ArrayIndexOp<'a>;
}Expand description
Trait for custom indexing operations.
Required Methods§
Sourcefn index_op(self) -> ArrayIndexOp<'a>
fn index_op(self) -> ArrayIndexOp<'a>
mlx allows out of bounds indexing.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".