#[repr(u32)]pub enum MomentType {
M00 = 1,
M01 = 2,
M10 = 4,
M11 = 8,
FIRST_ORDER = 15,
}Expand description
Image moment types
Variants§
M00 = 1
Central moment of order (0 + 0)
M01 = 2
Central moment of order (0 + 1)
M10 = 4
Central moment of order (1 + 0)
M11 = 8
Central moment of order (1 + 1)
FIRST_ORDER = 15
All central moments of order (0,0), (0,1), (1,0) and (1,1)
Trait Implementations§
Source§impl Clone for MomentType
impl Clone for MomentType
Source§fn clone(&self) -> MomentType
fn clone(&self) -> MomentType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MomentType
impl Debug for MomentType
Source§impl PartialEq for MomentType
impl PartialEq for MomentType
impl Copy for MomentType
impl StructuralPartialEq for MomentType
Auto Trait Implementations§
impl Freeze for MomentType
impl RefUnwindSafe for MomentType
impl Send for MomentType
impl Sync for MomentType
impl Unpin for MomentType
impl UnwindSafe for MomentType
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