pub enum ReduceOp {
Sum,
Prod,
Max,
Min,
All,
Any,
Mean,
}Expand description
Reduction operations.
Variants§
Sum
Sum reduction.
Prod
Product reduction.
Max
Maximum reduction.
Min
Minimum reduction.
All
Logical and.
Any
Logical or.
Mean
Mean (sum / count).
Trait Implementations§
impl Copy for ReduceOp
Source§impl<'de> Deserialize<'de> for ReduceOp
impl<'de> Deserialize<'de> for ReduceOp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ReduceOp
impl StructuralPartialEq for ReduceOp
Auto Trait Implementations§
impl Freeze for ReduceOp
impl RefUnwindSafe for ReduceOp
impl Send for ReduceOp
impl Sync for ReduceOp
impl Unpin for ReduceOp
impl UnsafeUnpin for ReduceOp
impl UnwindSafe for ReduceOp
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