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"))]
27extern_conformance!(
28    unsafe impl NSCoding for ARPointCloud {}
29);
30
31#[cfg(feature = "objc2")]
32extern_conformance!(
33    unsafe impl NSObjectProtocol for ARPointCloud {}
34);
35
36#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
37extern_conformance!(
38    unsafe impl NSSecureCoding for ARPointCloud {}
39);
40
41#[cfg(feature = "objc2")]
42impl ARPointCloud {
43    extern_methods!(
44        /// The number of points in the point cloud.
45        #[unsafe(method(count))]
46        #[unsafe(method_family = none)]
47        pub unsafe fn count(&self) -> NSUInteger;
48
49        /// The 3D point identifiers comprising the point cloud.
50        #[unsafe(method(identifiers))]
51        #[unsafe(method_family = none)]
52        pub unsafe fn identifiers(&self) -> NonNull<u64>;
53
54        /// Unavailable
55        #[unsafe(method(init))]
56        #[unsafe(method_family = init)]
57        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
58
59        #[unsafe(method(new))]
60        #[unsafe(method_family = new)]
61        pub unsafe fn new() -> Retained<Self>;
62    );
63}