pub struct DisplayWrapper<T: AsRef<str>>(/* private fields */);
Expand description
Helper for joining elements that only implement AsRef<str>
, but not std::fmt::Display
.
Implementations§
Trait Implementations§
Source§impl<T> AsRef<str> for DisplayWrapper<T>
impl<T> AsRef<str> for DisplayWrapper<T>
Source§impl<T> Clone for DisplayWrapper<T>
impl<T> Clone for DisplayWrapper<T>
Auto Trait Implementations§
impl<T> Freeze for DisplayWrapper<T>where
T: Freeze,
impl<T> RefUnwindSafe for DisplayWrapper<T>where
T: RefUnwindSafe,
impl<T> Send for DisplayWrapper<T>where
T: Send,
impl<T> Sync for DisplayWrapper<T>where
T: Sync,
impl<T> Unpin for DisplayWrapper<T>where
T: Unpin,
impl<T> UnwindSafe for DisplayWrapper<T>where
T: 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