objc2_vision/generated/
VNRecognizedPoint3D.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(VNPoint3D, NSObject))]
16 #[derive(Debug, PartialEq, Eq, Hash)]
17 #[cfg(feature = "VNGeometry")]
18 pub struct VNRecognizedPoint3D;
19);
20
21#[cfg(feature = "VNGeometry")]
22unsafe impl NSCoding for VNRecognizedPoint3D {}
23
24#[cfg(feature = "VNGeometry")]
25unsafe impl NSCopying for VNRecognizedPoint3D {}
26
27#[cfg(feature = "VNGeometry")]
28unsafe impl CopyingHelper for VNRecognizedPoint3D {
29 type Result = Self;
30}
31
32#[cfg(feature = "VNGeometry")]
33unsafe impl NSObjectProtocol for VNRecognizedPoint3D {}
34
35#[cfg(feature = "VNGeometry")]
36unsafe impl NSSecureCoding for VNRecognizedPoint3D {}
37
38#[cfg(feature = "VNGeometry")]
39impl VNRecognizedPoint3D {
40 extern_methods!(
41 #[unsafe(method(new))]
42 #[unsafe(method_family = new)]
43 pub unsafe fn new() -> Retained<Self>;
44
45 #[unsafe(method(init))]
46 #[unsafe(method_family = init)]
47 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
48
49 #[cfg(feature = "VNTypes")]
50 #[unsafe(method(identifier))]
54 #[unsafe(method_family = none)]
55 pub unsafe fn identifier(&self) -> Retained<VNRecognizedPointKey>;
56 );
57}