Enum FaceID
pub enum FaceID {
Unknown,
Stranger,
Identified(i32),
}
Expand description
An identifier for a face.
Stranger means that the face is visible but not in the library. Unknown means that the face is not yet identified, e.g. not fully visible. Identified means that the face is in the library.
Variants§
Trait Implementations§
§impl<'de> Deserialize<'de> for FaceID
impl<'de> Deserialize<'de> for FaceID
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Ord for FaceID
impl Ord for FaceID
§impl PartialOrd for FaceID
impl PartialOrd for FaceID
impl Eq for FaceID
impl StructuralPartialEq for FaceID
Auto Trait Implementations§
impl Freeze for FaceID
impl RefUnwindSafe for FaceID
impl Send for FaceID
impl Sync for FaceID
impl Unpin for FaceID
impl UnwindSafe for FaceID
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