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