Trait LinspaceArray

Source
pub trait LinspaceArray<T, const LENGTH: usize>: Linspace<T> {
    // Required method
    fn linspace_array(self) -> [T; LENGTH];
}

Required Methods§

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.

Implementations on Foreign Types§

Source§

impl<T, const LENGTH: usize> LinspaceArray<T, LENGTH> for Range<T>
where T: Add<T, Output = T> + Sub<T, Output = T> + Div<T, Output = T> + NumScale<f64> + Copy,

Source§

impl<T, const LENGTH: usize> LinspaceArray<T, LENGTH> for RangeInclusive<T>
where T: Add<T, Output = T> + Sub<T, Output = T> + Div<T, Output = T> + NumScale<f64> + Copy,

Implementors§