use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
#[cfg(feature = "objc2-core-foundation")]
use objc2_core_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[thread_kind = MainThreadOnly]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct UISceneSizeRestrictions;
);
extern_conformance!(
unsafe impl NSObjectProtocol for UISceneSizeRestrictions {}
);
impl UISceneSizeRestrictions {
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(mtm: MainThreadMarker) -> Retained<Self>;
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(minimumSize))]
#[unsafe(method_family = none)]
pub fn minimumSize(&self) -> CGSize;
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(setMinimumSize:))]
#[unsafe(method_family = none)]
pub fn setMinimumSize(&self, minimum_size: CGSize);
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(maximumSize))]
#[unsafe(method_family = none)]
pub fn maximumSize(&self) -> CGSize;
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(setMaximumSize:))]
#[unsafe(method_family = none)]
pub fn setMaximumSize(&self, maximum_size: CGSize);
#[unsafe(method(allowsFullScreen))]
#[unsafe(method_family = none)]
pub fn allowsFullScreen(&self) -> bool;
#[unsafe(method(setAllowsFullScreen:))]
#[unsafe(method_family = none)]
pub fn setAllowsFullScreen(&self, allows_full_screen: bool);
);
}