objc2_ar_kit/generated/
ARPointCloud.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use 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    /// [Apple's documentation](https://developer.apple.com/documentation/arkit/arpointcloud?language=objc)
14    #[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        /// The number of points in the point cloud.
39        #[unsafe(method(count))]
40        #[unsafe(method_family = none)]
41        pub unsafe fn count(&self) -> NSUInteger;
42
43        /// The 3D point identifiers comprising the point cloud.
44        #[unsafe(method(identifiers))]
45        #[unsafe(method_family = none)]
46        pub unsafe fn identifiers(&self) -> NonNull<u64>;
47
48        /// Unavailable
49        #[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}