pub struct Closure<W, F: FnMut(W)> { /* private fields */ }
Expand description
Helper struct for the closure
function.
Trait Implementations§
Auto Trait Implementations§
impl<W, F> Freeze for Closure<W, F>where
F: Freeze,
impl<W, F> RefUnwindSafe for Closure<W, F>where
F: RefUnwindSafe,
impl<W, F> Send for Closure<W, F>where
F: Send,
impl<W, F> Sync for Closure<W, F>where
F: Sync,
impl<W, F> Unpin for Closure<W, F>where
F: Unpin,
impl<W, F> UnwindSafe for Closure<W, F>where
F: 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