pub struct HtmlEscape<T>(pub T)
where
T: Display;Expand description
Wrapper that HTML-escapes the Display output of the inner value.
Tuple Fields§
§0: TTrait Implementations§
Auto Trait Implementations§
impl<T> Forget for HtmlEscape<T>
impl<T> Freeze for HtmlEscape<T>where
T: Freeze,
impl<T> Move for HtmlEscape<T>
impl<T> RefUnwindSafe for HtmlEscape<T>where
T: RefUnwindSafe,
impl<T> Send for HtmlEscape<T>where
T: Send,
impl<T> Sync for HtmlEscape<T>where
T: Sync,
impl<T> Unpin for HtmlEscape<T>where
T: Unpin,
impl<T> UnsafeUnpin for HtmlEscape<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for HtmlEscape<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