IndexerLargerOneAPI

Trait IndexerLargerOneAPI 

Source
pub trait IndexerLargerOneAPI {
    type DOut: DimDevAPI;

    // Required method
    fn dim_insert(&self, axis: isize) -> Result<Layout<Self::DOut>, Error>;
}

Required Associated Types§

Required Methods§

Source

fn dim_insert(&self, axis: isize) -> Result<Layout<Self::DOut>, Error>

Insert dimension after, with shape 1. Number of dimension will increase by 1.

Implementors§

Source§

impl<D> IndexerLargerOneAPI for Layout<D>
where D: DimDevAPI + DimLargerOneAPI, <D as DimLargerOneAPI>::LargerOne: DimDevAPI,

Source§

type DOut = <D as DimLargerOneAPI>::LargerOne