Struct objc2_app_kit::NSWindowButton
source · #[repr(transparent)]pub struct NSWindowButton(pub NSUInteger);
Available on crate feature
NSWindow
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl NSWindowButton
impl NSWindowButton
pub const NSWindowCloseButton: Self = _
pub const NSWindowMiniaturizeButton: Self = _
pub const NSWindowZoomButton: Self = _
pub const NSWindowToolbarButton: Self = _
pub const NSWindowDocumentIconButton: Self = _
pub const NSWindowDocumentVersionsButton: Self = _
Trait Implementations§
source§impl Clone for NSWindowButton
impl Clone for NSWindowButton
source§fn clone(&self) -> NSWindowButton
fn clone(&self) -> NSWindowButton
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 NSWindowButton
impl Debug for NSWindowButton
source§impl Encode for NSWindowButton
impl Encode for NSWindowButton
source§impl Hash for NSWindowButton
impl Hash for NSWindowButton
source§impl Ord for NSWindowButton
impl Ord for NSWindowButton
source§fn cmp(&self, other: &NSWindowButton) -> Ordering
fn cmp(&self, other: &NSWindowButton) -> 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 NSWindowButton
impl PartialEq for NSWindowButton
source§fn eq(&self, other: &NSWindowButton) -> bool
fn eq(&self, other: &NSWindowButton) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSWindowButton
impl PartialOrd for NSWindowButton
source§fn partial_cmp(&self, other: &NSWindowButton) -> Option<Ordering>
fn partial_cmp(&self, other: &NSWindowButton) -> 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 NSWindowButton
impl RefEncode for NSWindowButton
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 NSWindowButton
impl Eq for NSWindowButton
impl StructuralPartialEq for NSWindowButton
Auto Trait Implementations§
impl Freeze for NSWindowButton
impl RefUnwindSafe for NSWindowButton
impl Send for NSWindowButton
impl Sync for NSWindowButton
impl Unpin for NSWindowButton
impl UnwindSafe for NSWindowButton
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.