objc2_virtualization/generated/
VZNATNetworkDeviceAttachment.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5
6use crate::*;
7
8extern_class!(
9 #[unsafe(super(VZNetworkDeviceAttachment, NSObject))]
20 #[derive(Debug, PartialEq, Eq, Hash)]
21 #[cfg(feature = "VZNetworkDeviceAttachment")]
22 pub struct VZNATNetworkDeviceAttachment;
23);
24
25#[cfg(feature = "VZNetworkDeviceAttachment")]
26extern_conformance!(
27 unsafe impl NSObjectProtocol for VZNATNetworkDeviceAttachment {}
28);
29
30#[cfg(feature = "VZNetworkDeviceAttachment")]
31impl VZNATNetworkDeviceAttachment {
32 extern_methods!(
33 #[unsafe(method(init))]
34 #[unsafe(method_family = init)]
35 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
36 );
37}
38
39#[cfg(feature = "VZNetworkDeviceAttachment")]
41impl VZNATNetworkDeviceAttachment {
42 extern_methods!(
43 #[unsafe(method(new))]
44 #[unsafe(method_family = new)]
45 pub unsafe fn new() -> Retained<Self>;
46 );
47}