extendr_api::prelude

Trait RemoveAxis

Source
pub trait RemoveAxis: Dimension {
    // Required method
    fn remove_axis(&self, axis: Axis) -> Self::Smaller;
}
Expand description

Array shape with a next smaller dimension.

RemoveAxis defines a larger-than relation for array shapes: removing one axis from Self gives smaller dimension Smaller.

Required Methods§

Source

fn remove_axis(&self, axis: Axis) -> Self::Smaller

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§