pub struct LabelFn<F>(pub F);Expand description
A label accumulator which calls the specified function
Tuple Fields§
§0: FTrait Implementations§
Auto Trait Implementations§
impl<F> Freeze for LabelFn<F>where
F: Freeze,
impl<F> RefUnwindSafe for LabelFn<F>where
F: RefUnwindSafe,
impl<F> Send for LabelFn<F>where
F: Send,
impl<F> Sync for LabelFn<F>where
F: Sync,
impl<F> Unpin for LabelFn<F>where
F: Unpin,
impl<F> UnwindSafe for LabelFn<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