pub struct Trimmed<'a, T>(pub &'a T);Expand description
Converts ty to a string, but strips out whitespace.
Tuple Fields§
§0: &'a TTrait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Trimmed<'a, T>
impl<'a, T> RefUnwindSafe for Trimmed<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Trimmed<'a, T>where
T: Sync,
impl<'a, T> Sync for Trimmed<'a, T>where
T: Sync,
impl<'a, T> Unpin for Trimmed<'a, T>
impl<'a, T> UnwindSafe for Trimmed<'a, T>where
T: RefUnwindSafe,
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