pub enum Axis {
Col,
Row,
All,
}Expand description
Reduction axis: per-column, per-row, or global.
Variants§
Col
Reduce each column down to a single value (output length = n_cols).
Row
Reduce each row down to a single value (output length = n_rows).
All
Reduce all elements to a single value (output length = 1).
Trait Implementations§
impl Copy for Axis
impl Eq for Axis
impl StructuralPartialEq for Axis
Auto Trait Implementations§
impl Forget for Axis
impl Freeze for Axis
impl Move for Axis
impl RefUnwindSafe for Axis
impl Send for Axis
impl Sync for Axis
impl Unpin for Axis
impl UnsafeUnpin for Axis
impl UnwindSafe for Axis
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more