objc2_ui_kit/generated/
UISceneWindowingControlStyle.rs1use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5
6use crate::*;
7
8extern_class!(
9 #[unsafe(super(NSObject))]
13 #[derive(Debug, PartialEq, Eq, Hash)]
14 pub struct UISceneWindowingControlStyle;
15);
16
17unsafe impl Send for UISceneWindowingControlStyle {}
18
19unsafe impl Sync for UISceneWindowingControlStyle {}
20
21extern_conformance!(
22 unsafe impl NSObjectProtocol for UISceneWindowingControlStyle {}
23);
24
25impl UISceneWindowingControlStyle {
26 extern_methods!(
27 #[unsafe(method(automaticStyle))]
29 #[unsafe(method_family = none)]
30 pub fn automaticStyle() -> Retained<UISceneWindowingControlStyle>;
31
32 #[unsafe(method(unifiedStyle))]
34 #[unsafe(method_family = none)]
35 pub fn unifiedStyle() -> Retained<UISceneWindowingControlStyle>;
36
37 #[unsafe(method(minimalStyle))]
39 #[unsafe(method_family = none)]
40 pub fn minimalStyle() -> Retained<UISceneWindowingControlStyle>;
41
42 #[unsafe(method(init))]
43 #[unsafe(method_family = init)]
44 pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
45 );
46}
47
48impl UISceneWindowingControlStyle {
50 extern_methods!(
51 #[unsafe(method(new))]
52 #[unsafe(method_family = new)]
53 pub unsafe fn new() -> Retained<Self>;
54 );
55}