pub struct EventRef(/* private fields */);Expand description
A borrowed reference to a Event.
Implementations§
Trait Implementations§
Source§impl BorrowMut<EventRef> for Event
impl BorrowMut<EventRef> for Event
Source§fn borrow_mut(&mut self) -> &mut EventRef
fn borrow_mut(&mut self) -> &mut EventRef
Mutably borrows from an owned value. Read more
Source§impl ForeignTypeRef for EventRef
impl ForeignTypeRef for EventRef
Source§impl Message for EventRef
impl Message for EventRef
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