objc2_local_authentication/generated/
LAEnvironmentMechanismUserPassword.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5
6use crate::*;
7
8extern_class!(
9 #[unsafe(super(LAEnvironmentMechanism, NSObject))]
11 #[derive(Debug, PartialEq, Eq, Hash)]
12 #[cfg(feature = "LAEnvironmentMechanism")]
13 pub struct LAEnvironmentMechanismUserPassword;
14);
15
16#[cfg(feature = "LAEnvironmentMechanism")]
17unsafe impl Send for LAEnvironmentMechanismUserPassword {}
18
19#[cfg(feature = "LAEnvironmentMechanism")]
20unsafe impl Sync for LAEnvironmentMechanismUserPassword {}
21
22#[cfg(feature = "LAEnvironmentMechanism")]
23extern_conformance!(
24 unsafe impl NSObjectProtocol for LAEnvironmentMechanismUserPassword {}
25);
26
27#[cfg(feature = "LAEnvironmentMechanism")]
28impl LAEnvironmentMechanismUserPassword {
29 extern_methods!(
30 #[unsafe(method(isSet))]
32 #[unsafe(method_family = none)]
33 pub unsafe fn isSet(&self) -> bool;
34 );
35}
36
37#[cfg(feature = "LAEnvironmentMechanism")]
39impl LAEnvironmentMechanismUserPassword {
40 extern_methods!(
41 #[unsafe(method(new))]
43 #[unsafe(method_family = new)]
44 pub unsafe fn new() -> Retained<Self>;
45
46 #[unsafe(method(init))]
48 #[unsafe(method_family = init)]
49 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
50 );
51}