Trait DimIntoAPI

Source
pub trait DimIntoAPI<D>: DimBaseAPI
where D: DimBaseAPI,
{ // Required method fn into_dim(layout: Layout<Self>) -> Result<Layout<D>>; }

Required Methods§

Source

fn into_dim(layout: Layout<Self>) -> Result<Layout<D>>

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.

Implementors§

Source§

impl<D> DimIntoAPI<D> for IxD
where D: DimBaseAPI,

Source§

impl<const N: usize> DimIntoAPI<Vec<usize>> for Ix<N>

Source§

impl<const N: usize, const M: usize> DimIntoAPI<[usize; M]> for Ix<N>