Struct kvarn_utils::CleanDebug
source · [−]Expand description
Implements Debug
from the Display
implementation of value
.
Can be used to give fields a arbitrary str
without surrounding quotes,
for example in fmt::DebugStruct::field
.
Implementations
Trait Implementations
sourceimpl<'a, T: ?Sized + Display> Debug for CleanDebug<'a, T>
impl<'a, T: ?Sized + Display> Debug for CleanDebug<'a, T>
Auto Trait Implementations
impl<'a, T: ?Sized> RefUnwindSafe for CleanDebug<'a, T> where
T: RefUnwindSafe,
impl<'a, T: ?Sized> Send for CleanDebug<'a, T> where
T: Sync,
impl<'a, T: ?Sized> Sync for CleanDebug<'a, T> where
T: Sync,
impl<'a, T: ?Sized> Unpin for CleanDebug<'a, T>
impl<'a, T: ?Sized> UnwindSafe for CleanDebug<'a, T> where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> AsCleanDebug for T where
T: Display,
impl<T> AsCleanDebug for T where
T: Display,
sourcefn as_clean(&self) -> CleanDebug<'_, Self> where
Self: Display,
fn as_clean(&self) -> CleanDebug<'_, Self> where
Self: Display,
Get a CleanDebug
for Self. Read more
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more