#[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
impl 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
impl StructuralPartialEq for BiometryType
Auto Trait Implementations§
impl Forget for BiometryType
impl Freeze for BiometryType
impl Move 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