Struct core_graphics::event_source::CGEventSourceRef
source · pub struct CGEventSourceRef(_);
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 ToOwned for CGEventSourceRef
impl ToOwned for CGEventSourceRef
type Owned = CGEventSource
type Owned = CGEventSource
The resulting type after obtaining ownership.
sourcefn to_owned(&self) -> CGEventSource
fn to_owned(&self) -> CGEventSource
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
Auto Trait Implementations
impl !RefUnwindSafe for CGEventSourceRef
impl Send for CGEventSourceRef
impl !Sync for CGEventSourceRef
impl Unpin for CGEventSourceRef
impl UnwindSafe for CGEventSourceRef
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