orx_v

Trait LeqIdx

Source
pub trait LeqIdx<D: Dim>: From<D::Idx> {
    // Required method
    fn in_leq_bounds<T>(self, vec: &impl NVecCore<D, T>) -> bool;
}
Expand description

Union of indices that are less than or equal to dimension D.

Required Methods§

Source

fn in_leq_bounds<T>(self, vec: &impl NVecCore<D, T>) -> bool

Checks whether or not this index is in bounds for the given vec.

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§