[][src]Struct bloguen::util::XmlEscapeWrite

pub struct XmlEscapeWrite<Wr1: Write>(pub Wr1);

An output sink, escaping <, >, and & characters passed thereto.

Examples

let mut out = vec![];
XmlEscapeWrite(&mut out).write_all("hewwo > Бenlo".as_bytes()).unwrap();
assert_eq!(out, "hewwo &gt; Бenlo".as_bytes());

Trait Implementations

impl<Wr1: Eq + Write> Eq for XmlEscapeWrite<Wr1>[src]

impl<Wr1: Clone + Write> Clone for XmlEscapeWrite<Wr1>[src]

impl<Wr1: PartialOrd + Write> PartialOrd<XmlEscapeWrite<Wr1>> for XmlEscapeWrite<Wr1>[src]

impl<Wr1: PartialEq + Write> PartialEq<XmlEscapeWrite<Wr1>> for XmlEscapeWrite<Wr1>[src]

impl<Wr1: Ord + Write> Ord for XmlEscapeWrite<Wr1>[src]

impl<Wr1: Copy + Write> Copy for XmlEscapeWrite<Wr1>[src]

impl<Wr1: Hash + Write> Hash for XmlEscapeWrite<Wr1>[src]

impl<Wr1: Debug + Write> Debug for XmlEscapeWrite<Wr1>[src]

impl<Wr1: Write> Write for XmlEscapeWrite<Wr1>[src]

Auto Trait Implementations

impl<Wr1> Send for XmlEscapeWrite<Wr1> where
    Wr1: Send

impl<Wr1> Unpin for XmlEscapeWrite<Wr1> where
    Wr1: Unpin

impl<Wr1> Sync for XmlEscapeWrite<Wr1> where
    Wr1: Sync

impl<Wr1> UnwindSafe for XmlEscapeWrite<Wr1> where
    Wr1: UnwindSafe

impl<Wr1> RefUnwindSafe for XmlEscapeWrite<Wr1> where
    Wr1: RefUnwindSafe

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> RuleType for T where
    T: Copy + Eq + Ord + Hash + Debug
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]