pub struct ELHandlerAdder<'a, Client: Any> { /* private fields */ }
Implementations§
Source§impl<'a, Client: Any> ELHandlerAdder<'a, Client>
impl<'a, Client: Any> ELHandlerAdder<'a, Client>
pub fn add_handler<Msg: Any>( &mut self, func: fn(&mut Client, &Msg), ) -> &mut Self
Auto Trait Implementations§
impl<'a, Client> Freeze for ELHandlerAdder<'a, Client>
impl<'a, Client> !RefUnwindSafe for ELHandlerAdder<'a, Client>
impl<'a, Client> Send for ELHandlerAdder<'a, Client>where
Client: Send,
impl<'a, Client> !Sync for ELHandlerAdder<'a, Client>
impl<'a, Client> Unpin for ELHandlerAdder<'a, Client>where
Client: Unpin,
impl<'a, Client> !UnwindSafe for ELHandlerAdder<'a, Client>
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