objc2_virtualization/generated/
VZNVMExpressControllerDeviceConfiguration.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(VZStorageDeviceConfiguration, NSObject))]
20 #[derive(Debug, PartialEq, Eq, Hash)]
21 #[cfg(feature = "VZStorageDeviceConfiguration")]
22 pub struct VZNVMExpressControllerDeviceConfiguration;
23);
24
25#[cfg(feature = "VZStorageDeviceConfiguration")]
26extern_conformance!(
27 unsafe impl NSCopying for VZNVMExpressControllerDeviceConfiguration {}
28);
29
30#[cfg(feature = "VZStorageDeviceConfiguration")]
31unsafe impl CopyingHelper for VZNVMExpressControllerDeviceConfiguration {
32 type Result = Self;
33}
34
35#[cfg(feature = "VZStorageDeviceConfiguration")]
36extern_conformance!(
37 unsafe impl NSObjectProtocol for VZNVMExpressControllerDeviceConfiguration {}
38);
39
40#[cfg(feature = "VZStorageDeviceConfiguration")]
41impl VZNVMExpressControllerDeviceConfiguration {
42 extern_methods!(
43 #[cfg(feature = "VZStorageDeviceAttachment")]
44 #[unsafe(method(initWithAttachment:))]
50 #[unsafe(method_family = init)]
51 pub unsafe fn initWithAttachment(
52 this: Allocated<Self>,
53 attachment: &VZStorageDeviceAttachment,
54 ) -> Retained<Self>;
55 );
56}
57
58#[cfg(feature = "VZStorageDeviceConfiguration")]
60impl VZNVMExpressControllerDeviceConfiguration {
61 extern_methods!(
62 #[unsafe(method(new))]
63 #[unsafe(method_family = new)]
64 pub unsafe fn new() -> Retained<Self>;
65
66 #[unsafe(method(init))]
67 #[unsafe(method_family = init)]
68 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
69 );
70}