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