use core::ptr::NonNull;
#[cfg(feature = "objc2")]
use objc2::__framework_prelude::*;
use crate::*;
#[cfg(feature = "objc2")]
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "objc2")]
pub struct ARRaycastResult;
);
#[cfg(feature = "objc2")]
extern_conformance!(
unsafe impl NSObjectProtocol for ARRaycastResult {}
);
#[cfg(feature = "objc2")]
impl ARRaycastResult {
extern_methods!(
#[cfg(feature = "ARRaycastQuery")]
#[unsafe(method(target))]
#[unsafe(method_family = none)]
pub unsafe fn target(&self) -> ARRaycastTarget;
#[cfg(feature = "ARRaycastQuery")]
#[unsafe(method(targetAlignment))]
#[unsafe(method_family = none)]
pub unsafe fn targetAlignment(&self) -> ARRaycastTargetAlignment;
#[cfg(feature = "ARAnchor")]
#[unsafe(method(anchor))]
#[unsafe(method_family = none)]
pub unsafe fn anchor(&self) -> Option<Retained<ARAnchor>>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new(&self) -> Retained<Self>;
);
}
#[cfg(feature = "objc2")]
impl ARRaycastResult {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new_class() -> Retained<Self>;
);
}