DimIntoAPI

Trait DimIntoAPI 

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

Required Methods§

Source

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

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<const N: usize> DimIntoAPI<Vec<usize>> for [usize; N]

Source§

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

Implementors§

Source§

impl<D> DimIntoAPI<D> for Vec<usize>
where D: DimBaseAPI,