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]>

§

type Item = T

source§

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

source§

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

§

type Item = T

source§

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

Implementors§