Struct core_graphics::event_source::CGEventSource
source · pub struct CGEventSource(_);
Implementations
sourceimpl CGEventSource
impl CGEventSource
Trait Implementations
sourceimpl AsRef<CGEventSourceRef> for CGEventSource
impl AsRef<CGEventSourceRef> for CGEventSource
sourcefn as_ref(&self) -> &CGEventSourceRef
fn as_ref(&self) -> &CGEventSourceRef
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Borrow<CGEventSourceRef> for CGEventSource
impl Borrow<CGEventSourceRef> for CGEventSource
sourcefn borrow(&self) -> &CGEventSourceRef
fn borrow(&self) -> &CGEventSourceRef
Immutably borrows from an owned value. Read more
sourceimpl Clone for CGEventSource
impl Clone for CGEventSource
sourcefn clone(&self) -> CGEventSource
fn clone(&self) -> CGEventSource
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Deref for CGEventSource
impl Deref for CGEventSource
type Target = CGEventSourceRef
type Target = CGEventSourceRef
The resulting type after dereferencing.
sourcefn deref(&self) -> &CGEventSourceRef
fn deref(&self) -> &CGEventSourceRef
Dereferences the value.
sourceimpl DerefMut for CGEventSource
impl DerefMut for CGEventSource
sourcefn deref_mut(&mut self) -> &mut CGEventSourceRef
fn deref_mut(&mut self) -> &mut CGEventSourceRef
Mutably dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for CGEventSource
impl !Send for CGEventSource
impl !Sync for CGEventSource
impl Unpin for CGEventSource
impl UnwindSafe for CGEventSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more