use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(UIWindowScenePlacement, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "UIWindowScenePlacement")]
pub struct UIWindowSceneStandardPlacement;
);
#[cfg(feature = "UIWindowScenePlacement")]
extern_conformance!(
unsafe impl NSCopying for UIWindowSceneStandardPlacement {}
);
#[cfg(feature = "UIWindowScenePlacement")]
unsafe impl CopyingHelper for UIWindowSceneStandardPlacement {
type Result = Self;
}
#[cfg(feature = "UIWindowScenePlacement")]
extern_conformance!(
unsafe impl NSObjectProtocol for UIWindowSceneStandardPlacement {}
);
#[cfg(feature = "UIWindowScenePlacement")]
impl UIWindowSceneStandardPlacement {
extern_methods!(
#[unsafe(method(standardPlacement))]
#[unsafe(method_family = none)]
pub fn standardPlacement() -> Retained<Self>;
);
}
#[cfg(feature = "UIWindowScenePlacement")]
impl UIWindowSceneStandardPlacement {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}