#[repr(transparent)]pub struct CGEventSourceStateID(pub i32);
Available on crate feature
CGEventTypes
only.Expand description
Tuple Fields§
§0: i32
Implementations§
Source§impl CGEventSourceStateID
impl CGEventSourceStateID
pub const Private: Self
pub const CombinedSessionState: Self
pub const HIDSystemState: Self
Trait Implementations§
Source§impl Clone for CGEventSourceStateID
impl Clone for CGEventSourceStateID
Source§fn clone(&self) -> CGEventSourceStateID
fn clone(&self) -> CGEventSourceStateID
Returns a duplicate 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 CGEventSourceStateID
impl Debug for CGEventSourceStateID
Source§impl Encode for CGEventSourceStateID
Available on crate feature objc2
only.
impl Encode for CGEventSourceStateID
Available on crate feature
objc2
only.Source§impl Hash for CGEventSourceStateID
impl Hash for CGEventSourceStateID
Source§impl Ord for CGEventSourceStateID
impl Ord for CGEventSourceStateID
Source§fn cmp(&self, other: &CGEventSourceStateID) -> Ordering
fn cmp(&self, other: &CGEventSourceStateID) -> 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 CGEventSourceStateID
impl PartialEq for CGEventSourceStateID
Source§impl PartialOrd for CGEventSourceStateID
impl PartialOrd for CGEventSourceStateID
Source§impl RefEncode for CGEventSourceStateID
Available on crate feature objc2
only.
impl RefEncode for CGEventSourceStateID
Available on crate feature
objc2
only.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 CGEventSourceStateID
impl Eq for CGEventSourceStateID
impl StructuralPartialEq for CGEventSourceStateID
Auto Trait Implementations§
impl Freeze for CGEventSourceStateID
impl RefUnwindSafe for CGEventSourceStateID
impl Send for CGEventSourceStateID
impl Sync for CGEventSourceStateID
impl Unpin for CGEventSourceStateID
impl UnwindSafe for CGEventSourceStateID
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.