Struct objc2_local_authentication::LAPolicy
source · #[repr(transparent)]pub struct LAPolicy(pub NSInteger);
Available on crate feature
LAContext
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl LAPolicy
impl LAPolicy
pub const DeviceOwnerAuthenticationWithBiometrics: Self = _
pub const DeviceOwnerAuthentication: Self = _
pub const DeviceOwnerAuthenticationWithWatch: Self = _
pub const DeviceOwnerAuthenticationWithBiometricsOrWatch: Self = _
pub const DeviceOwnerAuthenticationWithWristDetection: Self = _
Trait Implementations§
source§impl Ord for LAPolicy
impl Ord for LAPolicy
source§impl PartialEq for LAPolicy
impl PartialEq for LAPolicy
source§impl PartialOrd for LAPolicy
impl PartialOrd for LAPolicy
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for LAPolicy
impl RefEncode for LAPolicy
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for LAPolicy
impl Eq for LAPolicy
impl StructuralPartialEq for LAPolicy
Auto Trait Implementations§
impl Freeze for LAPolicy
impl RefUnwindSafe for LAPolicy
impl Send for LAPolicy
impl Sync for LAPolicy
impl Unpin for LAPolicy
impl UnwindSafe for LAPolicy
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
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.