objc2_ar_kit/generated/
ARPlaneGeometry.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))]
20 #[derive(Debug, PartialEq, Eq, Hash)]
21 #[cfg(feature = "objc2")]
22 pub struct ARPlaneGeometry;
23);
24
25#[cfg(feature = "objc2")]
26unsafe impl Send for ARPlaneGeometry {}
27
28#[cfg(feature = "objc2")]
29unsafe impl Sync for ARPlaneGeometry {}
30
31#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
32extern_conformance!(
33 unsafe impl NSCoding for ARPlaneGeometry {}
34);
35
36#[cfg(feature = "objc2")]
37extern_conformance!(
38 unsafe impl NSObjectProtocol for ARPlaneGeometry {}
39);
40
41#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
42extern_conformance!(
43 unsafe impl NSSecureCoding for ARPlaneGeometry {}
44);
45
46#[cfg(feature = "objc2")]
47impl ARPlaneGeometry {
48 extern_methods!(
49 #[unsafe(method(vertexCount))]
51 #[unsafe(method_family = none)]
52 pub unsafe fn vertexCount(&self) -> NSUInteger;
53
54 #[unsafe(method(textureCoordinateCount))]
56 #[unsafe(method_family = none)]
57 pub unsafe fn textureCoordinateCount(&self) -> NSUInteger;
58
59 #[unsafe(method(triangleCount))]
61 #[unsafe(method_family = none)]
62 pub unsafe fn triangleCount(&self) -> NSUInteger;
63
64 #[unsafe(method(triangleIndices))]
66 #[unsafe(method_family = none)]
67 pub unsafe fn triangleIndices(&self) -> NonNull<i16>;
68
69 #[unsafe(method(boundaryVertexCount))]
71 #[unsafe(method_family = none)]
72 pub unsafe fn boundaryVertexCount(&self) -> NSUInteger;
73
74 #[unsafe(method(init))]
76 #[unsafe(method_family = init)]
77 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
78
79 #[unsafe(method(new))]
80 #[unsafe(method_family = new)]
81 pub unsafe fn new() -> Retained<Self>;
82 );
83}