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