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")]
22extern_conformance!(
23 unsafe impl NSCoding for VNRecognizedPoint3D {}
24);
25
26#[cfg(feature = "VNGeometry")]
27extern_conformance!(
28 unsafe impl NSCopying for VNRecognizedPoint3D {}
29);
30
31#[cfg(feature = "VNGeometry")]
32unsafe impl CopyingHelper for VNRecognizedPoint3D {
33 type Result = Self;
34}
35
36#[cfg(feature = "VNGeometry")]
37extern_conformance!(
38 unsafe impl NSObjectProtocol for VNRecognizedPoint3D {}
39);
40
41#[cfg(feature = "VNGeometry")]
42extern_conformance!(
43 unsafe impl NSSecureCoding for VNRecognizedPoint3D {}
44);
45
46#[cfg(feature = "VNGeometry")]
47impl VNRecognizedPoint3D {
48 extern_methods!(
49 #[unsafe(method(new))]
50 #[unsafe(method_family = new)]
51 pub unsafe fn new() -> Retained<Self>;
52
53 #[unsafe(method(init))]
54 #[unsafe(method_family = init)]
55 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
56
57 #[cfg(feature = "VNTypes")]
58 #[unsafe(method(identifier))]
62 #[unsafe(method_family = none)]
63 pub unsafe fn identifier(&self) -> Retained<VNRecognizedPointKey>;
64 );
65}