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