Struct tagger::EscapeGuard
source · [−]pub struct EscapeGuard<T> { /* private fields */ }
Expand description
Writer adaptor that replaces xml escaping characters with their encoded value.
Disallowed characters are "
'
<
>
&
. characters are replaced with their equivalent from:
https://dev.w3.org/html5/html-author/charref
Implementations
sourceimpl<T: Write> EscapeGuard<T>
impl<T: Write> EscapeGuard<T>
pub fn new(writer: T) -> EscapeGuard<T>
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for EscapeGuard<T> where
T: RefUnwindSafe,
impl<T> Send for EscapeGuard<T> where
T: Send,
impl<T> Sync for EscapeGuard<T> where
T: Sync,
impl<T> Unpin for EscapeGuard<T> where
T: Unpin,
impl<T> UnwindSafe for EscapeGuard<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more