#[repr(i32)]pub enum AlgorithmHint {
ALGO_HINT_DEFAULT = 0,
ALGO_HINT_ACCURATE = 1,
ALGO_HINT_APPROX = 2,
}Expand description
! Flags that allow to modify some functions’ behavior. Used as set of flags.
Variants§
ALGO_HINT_DEFAULT = 0
Default algorithm behaviour defined during OpenCV build
ALGO_HINT_ACCURATE = 1
Use generic portable implementation
ALGO_HINT_APPROX = 2
Allow alternative approximations to get faster implementation. Behaviour and result depends on a platform
Trait Implementations§
Source§impl Clone for AlgorithmHint
impl Clone for AlgorithmHint
Source§fn clone(&self) -> AlgorithmHint
fn clone(&self) -> AlgorithmHint
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 AlgorithmHint
Source§impl Debug for AlgorithmHint
impl Debug for AlgorithmHint
impl Eq for AlgorithmHint
Source§impl From<AlgorithmHint> for i32
impl From<AlgorithmHint> for i32
Source§fn from(v: AlgorithmHint) -> Self
fn from(v: AlgorithmHint) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AlgorithmHint
impl PartialEq for AlgorithmHint
impl StructuralPartialEq for AlgorithmHint
Auto Trait Implementations§
impl Freeze for AlgorithmHint
impl RefUnwindSafe for AlgorithmHint
impl Send for AlgorithmHint
impl Sync for AlgorithmHint
impl Unpin for AlgorithmHint
impl UnsafeUnpin for AlgorithmHint
impl UnwindSafe for AlgorithmHint
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