pub trait Along {
type Unit;
// Required methods
fn along(&self, axis: Axis) -> Self::Unit;
fn apply_along(
&self,
axis: Axis,
f: impl FnOnce(Self::Unit) -> Self::Unit,
) -> Self;
}Expand description
A trait for accessing the given unit along a certain axis.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".