Struct objc2_app_kit::NSWindowStyleMask
source · #[repr(transparent)]pub struct NSWindowStyleMask(pub NSUInteger);
Available on crate feature
NSWindow
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl NSWindowStyleMask
impl NSWindowStyleMask
pub const Borderless: Self = _
pub const Titled: Self = _
pub const Closable: Self = _
pub const Miniaturizable: Self = _
pub const Resizable: Self = _
pub const TexturedBackground: Self = _
👎Deprecated: Textured window style should no longer be used
pub const UnifiedTitleAndToolbar: Self = _
pub const FullScreen: Self = _
pub const FullSizeContentView: Self = _
pub const UtilityWindow: Self = _
pub const DocModalWindow: Self = _
pub const NonactivatingPanel: Self = _
pub const HUDWindow: Self = _
Trait Implementations§
source§impl Clone for NSWindowStyleMask
impl Clone for NSWindowStyleMask
source§fn clone(&self) -> NSWindowStyleMask
fn clone(&self) -> NSWindowStyleMask
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NSWindowStyleMask
impl Debug for NSWindowStyleMask
source§impl Encode for NSWindowStyleMask
impl Encode for NSWindowStyleMask
source§impl Hash for NSWindowStyleMask
impl Hash for NSWindowStyleMask
source§impl Ord for NSWindowStyleMask
impl Ord for NSWindowStyleMask
source§fn cmp(&self, other: &NSWindowStyleMask) -> Ordering
fn cmp(&self, other: &NSWindowStyleMask) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for NSWindowStyleMask
impl PartialEq for NSWindowStyleMask
source§fn eq(&self, other: &NSWindowStyleMask) -> bool
fn eq(&self, other: &NSWindowStyleMask) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSWindowStyleMask
impl PartialOrd for NSWindowStyleMask
source§fn partial_cmp(&self, other: &NSWindowStyleMask) -> Option<Ordering>
fn partial_cmp(&self, other: &NSWindowStyleMask) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for NSWindowStyleMask
impl RefEncode for NSWindowStyleMask
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for NSWindowStyleMask
impl Eq for NSWindowStyleMask
impl StructuralPartialEq for NSWindowStyleMask
Auto Trait Implementations§
impl Freeze for NSWindowStyleMask
impl RefUnwindSafe for NSWindowStyleMask
impl Send for NSWindowStyleMask
impl Sync for NSWindowStyleMask
impl Unpin for NSWindowStyleMask
impl UnwindSafe for NSWindowStyleMask
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.