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