pub trait ToLinSpace {
    type Item;

    // Required method
    fn into_lin_space(self, step: usize) -> IntoLinSpace<Self::Item>;
}
Expand description

A helper trait for lin_space

Required Associated Types§

source

type Item

The item that this is a linear space over

Required Methods§

source

fn into_lin_space(self, step: usize) -> IntoLinSpace<Self::Item>

Create the lin space

Implementations on Foreign Types§

source§

impl<T: Num + FromPrimitive + Copy> ToLinSpace for Range<T>

§

type Item = T

source§

fn into_lin_space(self, steps: usize) -> IntoLinSpace<Self::Item>

source§

impl<T: Num + FromPrimitive + Copy> ToLinSpace for RangeInclusive<T>

§

type Item = T

source§

fn into_lin_space(self, steps: usize) -> IntoLinSpace<Self::Item>

Implementors§