Trait ToGridStep

Source
pub trait ToGridStep<const N: usize> {
    type Item;

    // Required method
    fn into_grid_step(self) -> IntoGridStep<Self::Item, N>;
}
Expand description

Helper trait for grid_step

Required Associated Types§

Source

type Item

The item that this is a grid space over

Required Methods§

Source

fn into_grid_step(self) -> IntoGridStep<Self::Item, N>

Create the grid space

Implementations on Foreign Types§

Source§

impl<T: Step, const N: usize> ToGridStep<N> for Range<[T; N]>

Source§

impl<T: Step, const N: usize> ToGridStep<N> for RangeInclusive<[T; N]>

Implementors§