pub enum Axes {
All,
Some(Vec<i64>),
Few(AxisList),
}Expand description
Axes of a reduction: all of them, or a list (negative values count from the end).
Variants§
All
Every axis.
Some(Vec<i64>)
These axes.
Few(AxisList)
At most eight axes, stored without allocating (what the From
conversions give).
Implementations§
Trait Implementations§
impl Eq for Axes
impl StructuralPartialEq for Axes
Auto Trait Implementations§
impl Freeze for Axes
impl RefUnwindSafe for Axes
impl Send for Axes
impl Sync for Axes
impl Unpin for Axes
impl UnsafeUnpin for Axes
impl UnwindSafe for Axes
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