Lines Matching defs:Display
48 /// A copy of [`core::fmt::Display`] that allows us to implement it for foreign types.
50 /// Types should implement this trait rather than [`core::fmt::Display`]. Together with the
52 /// core) which do not implement [`core::fmt::Display`] directly.
55 pub trait Display {
56 /// Same as [`core::fmt::Display::fmt`].
60 impl<T: ?Sized + Display> Display for &T {
62 Display::fmt(*self, f)
66 impl<T: ?Sized + Display> core::fmt::Display for Adapter<&T> {
69 Display::fmt(t, f)
78 impl$($($generics)*)? Display for $ty $(where $($where)*)? {
80 core::fmt::Display::fmt(self, f)
105 {<T: ?Sized>} crate::sync::Arc<T> {where crate::sync::Arc<T>: core::fmt::Display},
106 {<T: ?Sized>} crate::sync::UniqueArc<T> {where crate::sync::UniqueArc<T>: core::fmt::Display},