RemoveDim

Trait RemoveDim 

Source
pub trait RemoveDim {
    type Output: MutLayout;

    // Required method
    fn remove_dim(&self, dim: usize) -> Self::Output;
}
Expand description

Trait that removes one dimension from a layout.

Required Associated Types§

Required Methods§

Source

fn remove_dim(&self, dim: usize) -> Self::Output

Return a copy of this layout with the dimension at index dim removed.

Implementations on Foreign Types§

Source§

impl<R: RemoveDim> RemoveDim for &R

Source§

type Output = <R as RemoveDim>::Output

Source§

fn remove_dim(&self, dim: usize) -> Self::Output

Implementors§