pub(crate) struct DisplayAsDebug<T: Display>(pub(crate) T);
Tuple Fields§
§0: T
Trait Implementations§
source§impl<T: Display> Debug for DisplayAsDebug<T>
impl<T: Display> Debug for DisplayAsDebug<T>
source§impl<T: PartialEq + Display> PartialEq<DisplayAsDebug<T>> for DisplayAsDebug<T>
impl<T: PartialEq + Display> PartialEq<DisplayAsDebug<T>> for DisplayAsDebug<T>
source§fn eq(&self, other: &DisplayAsDebug<T>) -> bool
fn eq(&self, other: &DisplayAsDebug<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.