objc2_ui_kit/generated/
UIWindowScenePushPlacement.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_class!(
10 #[unsafe(super(UIWindowScenePlacement, NSObject))]
23 #[derive(Debug, PartialEq, Eq, Hash)]
24 #[cfg(feature = "UIWindowScenePlacement")]
25 pub struct UIWindowScenePushPlacement;
26);
27
28#[cfg(feature = "UIWindowScenePlacement")]
29extern_conformance!(
30 unsafe impl NSCopying for UIWindowScenePushPlacement {}
31);
32
33#[cfg(feature = "UIWindowScenePlacement")]
34unsafe impl CopyingHelper for UIWindowScenePushPlacement {
35 type Result = Self;
36}
37
38#[cfg(feature = "UIWindowScenePlacement")]
39extern_conformance!(
40 unsafe impl NSObjectProtocol for UIWindowScenePushPlacement {}
41);
42
43#[cfg(feature = "UIWindowScenePlacement")]
44impl UIWindowScenePushPlacement {
45 extern_methods!(
46 #[cfg(feature = "UISceneSession")]
47 #[unsafe(method(placementTargetingSceneSession:))]
50 #[unsafe(method_family = none)]
51 pub fn placementTargetingSceneSession(
52 target_scene_session: &UISceneSession,
53 ) -> Retained<Self>;
54 );
55}
56
57#[cfg(feature = "UIWindowScenePlacement")]
59impl UIWindowScenePushPlacement {
60 extern_methods!(
61 #[unsafe(method(init))]
62 #[unsafe(method_family = init)]
63 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
64
65 #[unsafe(method(new))]
66 #[unsafe(method_family = new)]
67 pub unsafe fn new() -> Retained<Self>;
68 );
69}