#[repr(C)]pub struct ObjectPointer(/* private fields */);
Expand description
A messageable pointer to a (presumed) Objective C object.
Trait Implementations§
Source§impl Clone for ObjectPointer
impl Clone for ObjectPointer
Source§fn clone(&self) -> ObjectPointer
fn clone(&self) -> ObjectPointer
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Deref for ObjectPointer
impl Deref for ObjectPointer
Source§impl Message for ObjectPointer
impl Message for ObjectPointer
Source§unsafe fn send_message<A, R>(
&self,
sel: Sel,
args: A,
) -> Result<R, MessageError>
unsafe fn send_message<A, R>( &self, sel: Sel, args: A, ) -> Result<R, MessageError>
Sends a message to self with the given selector and arguments. Read more
Source§fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
Verifies that the argument and return types match the encoding of the
method for the given selector. Read more
impl Copy for ObjectPointer
Auto Trait Implementations§
impl Freeze for ObjectPointer
impl RefUnwindSafe for ObjectPointer
impl !Send for ObjectPointer
impl !Sync for ObjectPointer
impl Unpin for ObjectPointer
impl UnwindSafe for ObjectPointer
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