pub struct FnProxy<Msg, F: Fn(Msg)> { /* private fields */ }
Expand description
A Proxy that sends messages through a function
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Msg, F> RefUnwindSafe for FnProxy<Msg, F>where F: RefUnwindSafe, Msg: RefUnwindSafe,
impl<Msg, F> Send for FnProxy<Msg, F>where F: Send, Msg: Send,
impl<Msg, F> Sync for FnProxy<Msg, F>where F: Sync, Msg: Sync,
impl<Msg, F> Unpin for FnProxy<Msg, F>where F: Unpin, Msg: Unpin,
impl<Msg, F> UnwindSafe for FnProxy<Msg, F>where F: UnwindSafe, Msg: 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