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