use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(VZStorageDeviceConfiguration, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "VZStorageDeviceConfiguration")]
pub struct VZNVMExpressControllerDeviceConfiguration;
);
#[cfg(feature = "VZStorageDeviceConfiguration")]
extern_conformance!(
unsafe impl NSCopying for VZNVMExpressControllerDeviceConfiguration {}
);
#[cfg(feature = "VZStorageDeviceConfiguration")]
unsafe impl CopyingHelper for VZNVMExpressControllerDeviceConfiguration {
type Result = Self;
}
#[cfg(feature = "VZStorageDeviceConfiguration")]
extern_conformance!(
unsafe impl NSObjectProtocol for VZNVMExpressControllerDeviceConfiguration {}
);
#[cfg(feature = "VZStorageDeviceConfiguration")]
impl VZNVMExpressControllerDeviceConfiguration {
extern_methods!(
#[cfg(feature = "VZStorageDeviceAttachment")]
#[unsafe(method(initWithAttachment:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithAttachment(
this: Allocated<Self>,
attachment: &VZStorageDeviceAttachment,
) -> Retained<Self>;
);
}
#[cfg(feature = "VZStorageDeviceConfiguration")]
impl VZNVMExpressControllerDeviceConfiguration {
extern_methods!(
#[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>;
);
}