pub struct ArrayRef<T>(/* private fields */)
where
T: ForeignType + 'static,
T::Ref: Message + 'static;
Trait Implementations§
source§impl<T> ForeignTypeRef for ArrayRef<T>
impl<T> ForeignTypeRef for ArrayRef<T>
source§impl<T> Message for ArrayRef<T>
impl<T> Message for ArrayRef<T>
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
Auto Trait Implementations§
impl<T> Freeze for ArrayRef<T>
impl<T> !RefUnwindSafe for ArrayRef<T>
impl<T> !Send for ArrayRef<T>
impl<T> !Sync for ArrayRef<T>
impl<T> Unpin for ArrayRef<T>where
T: Unpin,
impl<T> UnwindSafe for ArrayRef<T>where
T: UnwindSafe,
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