#[repr(usize)]pub enum ReductionMode {
Min = 0,
Max = 1,
Sum = 2,
Product = 3,
ArgumentMin = 4,
ArgumentMax = 5,
}Expand description
Reduction Mode
Variants§
Trait Implementations§
Source§impl Clone for ReductionMode
impl Clone for ReductionMode
Source§fn clone(&self) -> ReductionMode
fn clone(&self) -> ReductionMode
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 ReductionMode
Source§impl Debug for ReductionMode
impl Debug for ReductionMode
impl Eq for ReductionMode
Source§impl PartialEq for ReductionMode
impl PartialEq for ReductionMode
Source§fn eq(&self, other: &ReductionMode) -> bool
fn eq(&self, other: &ReductionMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReductionMode
Auto Trait Implementations§
impl Freeze for ReductionMode
impl RefUnwindSafe for ReductionMode
impl Send for ReductionMode
impl Sync for ReductionMode
impl Unpin for ReductionMode
impl UnsafeUnpin for ReductionMode
impl UnwindSafe for ReductionMode
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