#[repr(u8)]pub enum IDMode {
LabelAndLocation = 1,
LocationOnly = 0,
}Expand description
The operating mode of the face labeling model.
Variants§
LabelAndLocation = 1
Faces will be returned with both the location and ID, if IDs have been set up.
The device will generate results at a lower rate in this mode due to the additional processing.
LocationOnly = 0
Faces will be returned with only the location, even if IDs are persisted.
The device will generate results at a higher rate in this mode.
Trait Implementations§
impl Copy for IDMode
impl Eq for IDMode
impl StructuralPartialEq for IDMode
Auto Trait Implementations§
impl Freeze for IDMode
impl RefUnwindSafe for IDMode
impl Send for IDMode
impl Sync for IDMode
impl Unpin for IDMode
impl UnwindSafe for IDMode
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