use objc2::__framework_prelude::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct VZNetworkDevice;
unsafe impl ClassType for VZNetworkDevice {
type Super = NSObject;
type Mutability = InteriorMutable;
}
);
unsafe impl NSObjectProtocol for VZNetworkDevice {}
extern_methods!(
unsafe impl VZNetworkDevice {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Retained<Self>;
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[cfg(feature = "VZNetworkDeviceAttachment")]
#[method_id(@__retain_semantics Other attachment)]
pub unsafe fn attachment(&self) -> Option<Retained<VZNetworkDeviceAttachment>>;
#[cfg(feature = "VZNetworkDeviceAttachment")]
#[method(setAttachment:)]
pub unsafe fn setAttachment(&self, attachment: Option<&VZNetworkDeviceAttachment>);
}
);