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§
Sourcefn remove_dim(&self, dim: usize) -> Self::Output
fn remove_dim(&self, dim: usize) -> Self::Output
Return a copy of this layout with the dimension at index dim removed.