mlx_rs::ops::indexing

Trait IntoStrideBy

Source
pub trait IntoStrideBy: Sized {
    // Required method
    fn stride_by(self, stride: i32) -> StrideBy<Self>;
}
Expand description

Helper trait for creating a stride indexing operation.

Required Methods§

Source

fn stride_by(self, stride: i32) -> StrideBy<Self>

Create a stride indexing operation.

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.

Implementors§

Source§

impl<T> IntoStrideBy for T