Struct core_graphics::event_source::CGEventSource
[−]
pub struct CGEventSource(_);
Methods
impl CGEventSource
[src]
pub fn type_id() -> CFTypeID
[src]
pub fn new(state_id: CGEventSourceStateID) -> Result<Self, ()>
[src]
Trait Implementations
impl Drop for CGEventSource
impl Clone for CGEventSource
fn clone(&self) -> CGEventSource
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Deref for CGEventSource
type Target = CGEventSourceRef
The resulting type after dereferencing.
fn deref(&self) -> &CGEventSourceRef
Dereferences the value.
impl DerefMut for CGEventSource
fn deref_mut(&mut self) -> &mut CGEventSourceRef
Mutably dereferences the value.
impl Borrow<CGEventSourceRef> for CGEventSource
fn borrow(&self) -> &CGEventSourceRef
Immutably borrows from an owned value. Read more
impl AsRef<CGEventSourceRef> for CGEventSource
fn as_ref(&self) -> &CGEventSourceRef
Performs the conversion.