pub struct XmlEscape<T: ?Sized>(pub T);
Expand description
A wrapper around a displayable type that makes it write out XML escaped.
All characters are written as is except "
, &
, '
, <
, and >
which are printed as e.g.
"
.
Tuple Fields§
§0: T
Trait Implementations§
impl<T> RawMarker for XmlEscape<T>
Auto Trait Implementations§
impl<T> Freeze for XmlEscape<T>
impl<T> RefUnwindSafe for XmlEscape<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for XmlEscape<T>
impl<T> Sync for XmlEscape<T>
impl<T> Unpin for XmlEscape<T>
impl<T> UnwindSafe for XmlEscape<T>where
T: UnwindSafe + ?Sized,
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