objc2-vision 0.3.2

Bindings to the Vision framework
Documentation
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;

use crate::*;

extern_class!(
    /// [Apple's documentation](https://developer.apple.com/documentation/vision/vnhumanbodyrecognizedpoint3d?language=objc)
    #[unsafe(super(VNRecognizedPoint3D, VNPoint3D, NSObject))]
    #[derive(Debug, PartialEq, Eq, Hash)]
    #[cfg(all(feature = "VNGeometry", feature = "VNRecognizedPoint3D"))]
    pub struct VNHumanBodyRecognizedPoint3D;
);

#[cfg(all(feature = "VNGeometry", feature = "VNRecognizedPoint3D"))]
extern_conformance!(
    unsafe impl NSCoding for VNHumanBodyRecognizedPoint3D {}
);

#[cfg(all(feature = "VNGeometry", feature = "VNRecognizedPoint3D"))]
extern_conformance!(
    unsafe impl NSCopying for VNHumanBodyRecognizedPoint3D {}
);

#[cfg(all(feature = "VNGeometry", feature = "VNRecognizedPoint3D"))]
unsafe impl CopyingHelper for VNHumanBodyRecognizedPoint3D {
    type Result = Self;
}

#[cfg(all(feature = "VNGeometry", feature = "VNRecognizedPoint3D"))]
extern_conformance!(
    unsafe impl NSObjectProtocol for VNHumanBodyRecognizedPoint3D {}
);

#[cfg(all(feature = "VNGeometry", feature = "VNRecognizedPoint3D"))]
extern_conformance!(
    unsafe impl NSSecureCoding for VNHumanBodyRecognizedPoint3D {}
);

#[cfg(all(feature = "VNGeometry", feature = "VNRecognizedPoint3D"))]
impl VNHumanBodyRecognizedPoint3D {
    extern_methods!(
        #[cfg(feature = "VNTypes")]
        #[unsafe(method(parentJoint))]
        #[unsafe(method_family = none)]
        pub unsafe fn parentJoint(&self) -> Retained<VNHumanBodyPose3DObservationJointName>;

        #[unsafe(method(new))]
        #[unsafe(method_family = new)]
        pub unsafe fn new() -> Retained<Self>;

        #[unsafe(method(init))]
        #[unsafe(method_family = init)]
        pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
    );
}