#[repr(C)]pub enum FaceRecognizerSF_DisType {
FR_COSINE = 0,
FR_NORM_L2 = 1,
}
Expand description
Definition of distance used for calculating the distance between two face features
Variants§
Trait Implementations§
source§impl Clone for FaceRecognizerSF_DisType
impl Clone for FaceRecognizerSF_DisType
source§fn clone(&self) -> FaceRecognizerSF_DisType
fn clone(&self) -> FaceRecognizerSF_DisType
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 FaceRecognizerSF_DisType
impl Debug for FaceRecognizerSF_DisType
source§impl From<FaceRecognizerSF_DisType> for i32
impl From<FaceRecognizerSF_DisType> for i32
source§fn from(v: FaceRecognizerSF_DisType) -> Self
fn from(v: FaceRecognizerSF_DisType) -> Self
Converts to this type from the input type.
source§impl PartialEq for FaceRecognizerSF_DisType
impl PartialEq for FaceRecognizerSF_DisType
source§fn eq(&self, other: &FaceRecognizerSF_DisType) -> bool
fn eq(&self, other: &FaceRecognizerSF_DisType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FaceRecognizerSF_DisType
impl Eq for FaceRecognizerSF_DisType
impl StructuralEq for FaceRecognizerSF_DisType
impl StructuralPartialEq for FaceRecognizerSF_DisType
Auto Trait Implementations§
impl RefUnwindSafe for FaceRecognizerSF_DisType
impl Send for FaceRecognizerSF_DisType
impl Sync for FaceRecognizerSF_DisType
impl Unpin for FaceRecognizerSF_DisType
impl UnwindSafe for FaceRecognizerSF_DisType
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