#[repr(C)]pub enum TermCriteria_Type {
COUNT = 1,
EPS = 2,
}
Expand description
Criteria type, can be one of: COUNT, EPS or COUNT + EPS
Variants§
COUNT = 1
the maximum number of iterations or elements to compute
EPS = 2
the desired accuracy or change in parameters at which the iterative algorithm stops
Trait Implementations§
Source§impl Clone for TermCriteria_Type
impl Clone for TermCriteria_Type
Source§fn clone(&self) -> TermCriteria_Type
fn clone(&self) -> TermCriteria_Type
Returns a copy 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 TermCriteria_Type
impl Debug for TermCriteria_Type
Source§impl From<TermCriteria_Type> for i32
impl From<TermCriteria_Type> for i32
Source§fn from(v: TermCriteria_Type) -> Self
fn from(v: TermCriteria_Type) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TermCriteria_Type
impl PartialEq for TermCriteria_Type
Source§impl TryFrom<i32> for TermCriteria_Type
impl TryFrom<i32> for TermCriteria_Type
impl Copy for TermCriteria_Type
impl Eq for TermCriteria_Type
impl StructuralPartialEq for TermCriteria_Type
Auto Trait Implementations§
impl Freeze for TermCriteria_Type
impl RefUnwindSafe for TermCriteria_Type
impl Send for TermCriteria_Type
impl Sync for TermCriteria_Type
impl Unpin for TermCriteria_Type
impl UnwindSafe for TermCriteria_Type
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