objc2_ar_kit/generated/
ARPointCloud.rs1use core::ptr::NonNull;
4#[cfg(feature = "objc2")]
5use objc2::__framework_prelude::*;
6#[cfg(feature = "objc2-foundation")]
7use objc2_foundation::*;
8
9use crate::*;
10
11#[cfg(feature = "objc2")]
12extern_class!(
13 #[unsafe(super(NSObject))]
15 #[derive(Debug, PartialEq, Eq, Hash)]
16 #[cfg(feature = "objc2")]
17 pub struct ARPointCloud;
18);
19
20#[cfg(feature = "objc2")]
21unsafe impl Send for ARPointCloud {}
22
23#[cfg(feature = "objc2")]
24unsafe impl Sync for ARPointCloud {}
25
26#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
27unsafe impl NSCoding for ARPointCloud {}
28
29#[cfg(feature = "objc2")]
30unsafe impl NSObjectProtocol for ARPointCloud {}
31
32#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
33unsafe impl NSSecureCoding for ARPointCloud {}
34
35#[cfg(feature = "objc2")]
36impl ARPointCloud {
37 extern_methods!(
38 #[unsafe(method(count))]
40 #[unsafe(method_family = none)]
41 pub unsafe fn count(&self) -> NSUInteger;
42
43 #[unsafe(method(identifiers))]
45 #[unsafe(method_family = none)]
46 pub unsafe fn identifiers(&self) -> NonNull<u64>;
47
48 #[unsafe(method(init))]
50 #[unsafe(method_family = init)]
51 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
52
53 #[unsafe(method(new))]
54 #[unsafe(method_family = new)]
55 pub unsafe fn new() -> Retained<Self>;
56 );
57}