Struct shadow_shim_helper_rs::util::DebugFormatter
source · pub struct DebugFormatter<F>(pub F)
where
F: Fn(&mut Formatter<'_>) -> Result;
Expand description
Implements Debug
using the provided closure.
Tuple Fields§
§0: F
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for DebugFormatter<F>where
F: Freeze,
impl<F> RefUnwindSafe for DebugFormatter<F>where
F: RefUnwindSafe,
impl<F> Send for DebugFormatter<F>where
F: Send,
impl<F> Sync for DebugFormatter<F>where
F: Sync,
impl<F> Unpin for DebugFormatter<F>where
F: Unpin,
impl<F> UnwindSafe for DebugFormatter<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