pub struct CleanDebug<'a, T>(_)
where
T: Display + ?Sized;
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§
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§
source§impl<T> AsCleanDebug for Twhere
T: Display,
impl<T> AsCleanDebug for Twhere T: Display,
source§fn as_clean(&self) -> CleanDebug<'_, Self>where
Self: Display,
fn as_clean(&self) -> CleanDebug<'_, Self>where Self: Display,
Get a
CleanDebug
for Self. Read more§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere T: Display,
§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more