objc2_home_kit/generated/
HMUser.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(NSObject))]
14 #[derive(Debug, PartialEq, Eq, Hash)]
15 pub struct HMUser;
16);
17
18unsafe impl Send for HMUser {}
19
20unsafe impl Sync for HMUser {}
21
22extern_conformance!(
23 unsafe impl NSObjectProtocol for HMUser {}
24);
25
26impl HMUser {
27 extern_methods!(
28 #[unsafe(method(init))]
29 #[unsafe(method_family = init)]
30 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
31
32 #[unsafe(method(name))]
34 #[unsafe(method_family = none)]
35 pub unsafe fn name(&self) -> Retained<NSString>;
36
37 #[unsafe(method(uniqueIdentifier))]
39 #[unsafe(method_family = none)]
40 pub unsafe fn uniqueIdentifier(&self) -> Retained<NSUUID>;
41 );
42}
43
44impl HMUser {
46 extern_methods!(
47 #[unsafe(method(new))]
48 #[unsafe(method_family = new)]
49 pub unsafe fn new() -> Retained<Self>;
50 );
51}