objc2_ar_kit/generated/
ARParticipantAnchor.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(ARAnchor, NSObject))]
21 #[derive(Debug, PartialEq, Eq, Hash)]
22 #[cfg(all(feature = "ARAnchor", feature = "objc2"))]
23 pub struct ARParticipantAnchor;
24);
25
26#[cfg(all(feature = "ARAnchor", feature = "objc2"))]
27unsafe impl Send for ARParticipantAnchor {}
28
29#[cfg(all(feature = "ARAnchor", feature = "objc2"))]
30unsafe impl Sync for ARParticipantAnchor {}
31
32#[cfg(all(feature = "ARAnchor", feature = "objc2", feature = "objc2-foundation"))]
33unsafe impl ARAnchorCopying for ARParticipantAnchor {}
34
35#[cfg(all(feature = "ARAnchor", feature = "objc2", feature = "objc2-foundation"))]
36unsafe impl NSCoding for ARParticipantAnchor {}
37
38#[cfg(all(feature = "ARAnchor", feature = "objc2", feature = "objc2-foundation"))]
39unsafe impl NSCopying for ARParticipantAnchor {}
40
41#[cfg(all(feature = "ARAnchor", feature = "objc2", feature = "objc2-foundation"))]
42unsafe impl CopyingHelper for ARParticipantAnchor {
43 type Result = Self;
44}
45
46#[cfg(all(feature = "ARAnchor", feature = "objc2"))]
47unsafe impl NSObjectProtocol for ARParticipantAnchor {}
48
49#[cfg(all(feature = "ARAnchor", feature = "objc2", feature = "objc2-foundation"))]
50unsafe impl NSSecureCoding for ARParticipantAnchor {}
51
52#[cfg(all(feature = "ARAnchor", feature = "objc2"))]
53impl ARParticipantAnchor {
54 extern_methods!();
55}
56
57#[cfg(all(feature = "ARAnchor", feature = "objc2"))]
59impl ARParticipantAnchor {
60 extern_methods!(
61 #[unsafe(method(init))]
63 #[unsafe(method_family = init)]
64 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
65
66 #[unsafe(method(new))]
67 #[unsafe(method_family = new)]
68 pub unsafe fn new() -> Retained<Self>;
69 );
70}