pub trait ToArangeGrid<S, const N: usize> {
    type Item;

    // Required method
    fn into_arange_grid(self, step: S) -> IntoArangeGrid<Self::Item, N>;
}
Expand description

Helper trait for arange_grid

Required Associated Types§

source

type Item

The item that this is a arange grid over

Required Methods§

source

fn into_arange_grid(self, step: S) -> IntoArangeGrid<Self::Item, N>

Create the arange grid

Implementations on Foreign Types§

source§

impl<F: Copy, const N: usize> ToArangeGrid<[F; N], N> for Range<[F; N]>where Range<F>: ToArange<F>,

§

type Item = <Range<F> as ToArange<F>>::Item

source§

fn into_arange_grid(self, step: [F; N]) -> IntoArangeGrid<Self::Item, N>

source§

impl<F: Copy, const N: usize> ToArangeGrid<F, N> for Range<[F; N]>where Range<F>: ToArange<F>,

§

type Item = <Range<F> as ToArange<F>>::Item

source§

fn into_arange_grid(self, step: F) -> IntoArangeGrid<Self::Item, N>

Implementors§