Enum opencv::core::ReduceTypes
source · [−]#[repr(C)]
pub enum ReduceTypes {
REDUCE_SUM,
REDUCE_AVG,
REDUCE_MAX,
REDUCE_MIN,
}
Variants
REDUCE_SUM
the output is the sum of all rows/columns of the matrix.
REDUCE_AVG
the output is the mean vector of all rows/columns of the matrix.
REDUCE_MAX
the output is the maximum (column/row-wise) of all rows/columns of the matrix.
REDUCE_MIN
the output is the minimum (column/row-wise) of all rows/columns of the matrix.
Trait Implementations
sourceimpl Clone for ReduceTypes
impl Clone for ReduceTypes
sourcefn clone(&self) -> ReduceTypes
fn clone(&self) -> ReduceTypes
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ReduceTypes
impl Debug for ReduceTypes
sourceimpl PartialEq<ReduceTypes> for ReduceTypes
impl PartialEq<ReduceTypes> for ReduceTypes
sourcefn eq(&self, other: &ReduceTypes) -> bool
fn eq(&self, other: &ReduceTypes) -> bool
impl Copy for ReduceTypes
impl Eq for ReduceTypes
impl StructuralEq for ReduceTypes
impl StructuralPartialEq for ReduceTypes
Auto Trait Implementations
impl RefUnwindSafe for ReduceTypes
impl Send for ReduceTypes
impl Sync for ReduceTypes
impl Unpin for ReduceTypes
impl UnwindSafe for ReduceTypes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more