Struct core_graphics::event_source::CGEventSourceRef
source · pub struct CGEventSourceRef(/* private fields */);
Expand description
A borrowed reference to a CGEventSource
.
Trait Implementations§
source§impl ForeignTypeRef for CGEventSourceRef
impl ForeignTypeRef for CGEventSourceRef
§type CType = CGEventSource
type CType = CGEventSource
The raw C type.
source§unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type. Read more
Auto Trait Implementations§
impl Freeze for CGEventSourceRef
impl !RefUnwindSafe for CGEventSourceRef
impl !Send for CGEventSourceRef
impl !Sync for CGEventSourceRef
impl Unpin for CGEventSourceRef
impl UnwindSafe for CGEventSourceRef
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