pub struct Trimmed<Inner = Plain>(/* private fields */);
Expand description
Text codec which trims whitespace at the beginning and the end of the text.
Optionally processes the text further using a nested codec.
Trait Implementations§
Auto Trait Implementations§
impl<Inner> Freeze for Trimmed<Inner>
impl<Inner> RefUnwindSafe for Trimmed<Inner>where
Inner: RefUnwindSafe,
impl<Inner> Send for Trimmed<Inner>where
Inner: Send,
impl<Inner> Sync for Trimmed<Inner>where
Inner: Sync,
impl<Inner> Unpin for Trimmed<Inner>where
Inner: Unpin,
impl<Inner> UnwindSafe for Trimmed<Inner>where
Inner: 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