#[repr(i32)]pub enum ReductionType {
None = 0,
Sum = 1,
Mean = 2,
Max = 3,
Min = 4,
ArgMax = 5,
ArgMin = 6,
L1Norm = 7,
Any = 8,
All = 9,
}Variants§
None = 0
No reduction.
Sum = 1
The sum reduction.
Mean = 2
The mean reduction.
Max = 3
The max reduction.
Min = 4
The min reduction.
ArgMax = 5
The argmax reduction.
ArgMin = 6
The argmin reduction.
L1Norm = 7
The L1norm reduction.
Any = 8
Any(X) = X_0 || X_1 || … X_n
All = 9
Alf(X) = X_0 && X_1 && … X_n
Implementations§
Source§impl ReductionType
impl ReductionType
pub fn debug_desc(self) -> &'static String
Trait Implementations§
Source§impl Clone for ReductionType
impl Clone for ReductionType
Source§fn clone(&self) -> ReductionType
fn clone(&self) -> ReductionType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReductionType
Source§impl Debug for ReductionType
impl Debug for ReductionType
impl Eq for ReductionType
Source§impl PartialEq for ReductionType
impl PartialEq for ReductionType
Source§fn eq(&self, other: &ReductionType) -> bool
fn eq(&self, other: &ReductionType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReductionType
Auto Trait Implementations§
impl Freeze for ReductionType
impl RefUnwindSafe for ReductionType
impl Send for ReductionType
impl Sync for ReductionType
impl Unpin for ReductionType
impl UnsafeUnpin for ReductionType
impl UnwindSafe for ReductionType
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