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]
fn into_inner(self) -> T
Consumes the escaped marker and returns the wrapped value.
Trait Implementations
impl<T: Escapable> Append<T> for Escaped<String>
[src]
fn append_str(&mut self, string: T)
Append any string-like value
impl<T: AsRef<str>> Append<Escaped<T>> for Escaped<String>
[src]
fn append_str(&mut self, string: Escaped<T>)
Append any string-like value