pub struct SharedEventListener(/* private fields */);Implementations§
pub unsafe fn from_queue_handle(queue: dispatch_queue_t) -> Self
Trait Implementations§
Source§fn as_mut(&mut self) -> &mut SharedEventListenerRef
fn as_mut(&mut self) -> &mut SharedEventListenerRef
Converts this type into a mutable reference of the (usually inferred) input type.
Source§fn as_ref(&self) -> &SharedEventListenerRef
fn as_ref(&self) -> &SharedEventListenerRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§fn borrow(&self) -> &SharedEventListenerRef
fn borrow(&self) -> &SharedEventListenerRef
Immutably borrows from an owned value. Read more
Source§fn borrow_mut(&mut self) -> &mut SharedEventListenerRef
fn borrow_mut(&mut self) -> &mut SharedEventListenerRef
Mutably borrows from an owned value. Read more
Source§fn clone(&self) -> SharedEventListener
fn clone(&self) -> SharedEventListener
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§type Target = SharedEventListenerRef
type Target = SharedEventListenerRef
The resulting type after dereferencing.
Source§fn deref(&self) -> &SharedEventListenerRef
fn deref(&self) -> &SharedEventListenerRef
Dereferences the value.
Source§fn deref_mut(&mut self) -> &mut SharedEventListenerRef
fn deref_mut(&mut self) -> &mut SharedEventListenerRef
Mutably dereferences the value.
Source§type CType = MTLSharedEventListener
type CType = MTLSharedEventListener
The raw C type.
Source§type Ref = SharedEventListenerRef
type Ref = SharedEventListenerRef
The type representing a reference to this type.
Source§unsafe fn from_ptr(ptr: *mut MTLSharedEventListener) -> SharedEventListener
unsafe fn from_ptr(ptr: *mut MTLSharedEventListener) -> SharedEventListener
Constructs an instance of this type from its raw type. Read more
Source§fn as_ptr(&self) -> *mut MTLSharedEventListener
fn as_ptr(&self) -> *mut MTLSharedEventListener
Returns a raw pointer to the wrapped value.
Auto Trait Implementations§
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)