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"))]
32unsafe impl NSCoding for ARPlaneGeometry {}
33
34#[cfg(feature = "objc2")]
35unsafe impl NSObjectProtocol for ARPlaneGeometry {}
36
37#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
38unsafe impl NSSecureCoding for ARPlaneGeometry {}
39
40#[cfg(feature = "objc2")]
41impl ARPlaneGeometry {
42 extern_methods!(
43 #[unsafe(method(vertexCount))]
45 #[unsafe(method_family = none)]
46 pub unsafe fn vertexCount(&self) -> NSUInteger;
47
48 #[unsafe(method(textureCoordinateCount))]
50 #[unsafe(method_family = none)]
51 pub unsafe fn textureCoordinateCount(&self) -> NSUInteger;
52
53 #[unsafe(method(triangleCount))]
55 #[unsafe(method_family = none)]
56 pub unsafe fn triangleCount(&self) -> NSUInteger;
57
58 #[unsafe(method(triangleIndices))]
60 #[unsafe(method_family = none)]
61 pub unsafe fn triangleIndices(&self) -> NonNull<i16>;
62
63 #[unsafe(method(boundaryVertexCount))]
65 #[unsafe(method_family = none)]
66 pub unsafe fn boundaryVertexCount(&self) -> NSUInteger;
67
68 #[unsafe(method(init))]
70 #[unsafe(method_family = init)]
71 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
72
73 #[unsafe(method(new))]
74 #[unsafe(method_family = new)]
75 pub unsafe fn new() -> Retained<Self>;
76 );
77}