#[non_exhaustive]pub enum BiometryType {
None,
TouchId,
FaceId,
OpticId,
Unknown(i32),
}Expand description
Biometry kinds reported by LAContext.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for BiometryType
impl Clone for BiometryType
Source§fn clone(&self) -> BiometryType
fn clone(&self) -> BiometryType
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 BiometryType
Source§impl Debug for BiometryType
impl Debug for BiometryType
impl Eq for BiometryType
Source§impl Hash for BiometryType
impl Hash for BiometryType
Source§impl PartialEq for BiometryType
impl PartialEq for BiometryType
Source§fn eq(&self, other: &BiometryType) -> bool
fn eq(&self, other: &BiometryType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BiometryType
Auto Trait Implementations§
impl Freeze for BiometryType
impl RefUnwindSafe for BiometryType
impl Send for BiometryType
impl Sync for BiometryType
impl Unpin for BiometryType
impl UnsafeUnpin for BiometryType
impl UnwindSafe for BiometryType
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