Struct escapade::Escaped [] [src]

pub struct Escaped<T: AsRef<str>> { /* fields omitted */ }

An escaped string-like value

Escaped wraps a value with the bounds AsRef<str>. It can work on any of those values, but any operations on them will return Escaped<String> and thus allocate.

Methods

impl<T: AsRef<str>> Escaped<T>
[src]

Consumes the escaped marker and returns the wrapped value.

Trait Implementations

impl<T: Escapable> Append<T> for Escaped<String>
[src]

Append any string-like value

impl<T: AsRef<str>> Append<Escaped<T>> for Escaped<String>
[src]

Append any string-like value