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
Source§impl ToOwned for EventRef
impl ToOwned for EventRef
impl Send for EventRef
impl Sync for EventRef
Auto Trait Implementations§
impl Freeze for EventRef
impl !RefUnwindSafe for EventRef
impl Unpin for EventRef
impl UnwindSafe for EventRef
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