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))]
38 #[unsafe(method_family = none)]
39 pub unsafe fn isSet(&self) -> bool;
40 );
41}
42
43#[cfg(feature = "LAEnvironmentMechanism")]
45impl LAEnvironmentMechanismUserPassword {
46 extern_methods!(
47 #[unsafe(method(new))]
49 #[unsafe(method_family = new)]
50 pub unsafe fn new() -> Retained<Self>;
51
52 #[unsafe(method(init))]
54 #[unsafe(method_family = init)]
55 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
56 );
57}