Struct maud::PreEscaped [−][src]
A wrapper that renders the inner value without escaping.
Methods
impl<T: AsRef<str> + Into<String>> PreEscaped<T>
[src]
impl<T: AsRef<str> + Into<String>> PreEscaped<T>
pub fn into_string(self) -> String
[src]
pub fn into_string(self) -> String
Converts the inner value to a string.
Trait Implementations
impl Modifier<Response> for PreEscaped<String>
[src]
impl Modifier<Response> for PreEscaped<String>
impl WriteBody for PreEscaped<String>
[src]
impl WriteBody for PreEscaped<String>
fn write_body(&mut self, body: &mut Write) -> Result<()>
[src]
fn write_body(&mut self, body: &mut Write) -> Result<()>
Writes the body to the provided Write
.
impl Responder<'static> for PreEscaped<String>
[src]
impl Responder<'static> for PreEscaped<String>
fn respond_to(self, _: &Request) -> Result<Response<'static>, Status>
[src]
fn respond_to(self, _: &Request) -> Result<Response<'static>, Status>
Returns Ok
if a Response
could be generated successfully. Otherwise, returns an Err
with a failing Status
. Read more
impl<T: Debug + AsRef<str>> Debug for PreEscaped<T>
[src]
impl<T: Debug + AsRef<str>> Debug for PreEscaped<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: Clone + AsRef<str>> Clone for PreEscaped<T>
[src]
impl<T: Clone + AsRef<str>> Clone for PreEscaped<T>
fn clone(&self) -> PreEscaped<T>
[src]
fn clone(&self) -> PreEscaped<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T: Copy + AsRef<str>> Copy for PreEscaped<T>
[src]
impl<T: Copy + AsRef<str>> Copy for PreEscaped<T>
impl<T: AsRef<str>> Render for PreEscaped<T>
[src]
impl<T: AsRef<str>> Render for PreEscaped<T>
fn render_to(&self, w: &mut String)
[src]
fn render_to(&self, w: &mut String)
Appends a representation of self
to the given buffer. Read more
fn render(&self) -> Markup
[src]
fn render(&self) -> Markup
Renders self
as a block of Markup
.
impl<T: AsRef<str> + Into<String>> Into<String> for PreEscaped<T>
[src]
impl<T: AsRef<str> + Into<String>> Into<String> for PreEscaped<T>
Auto Trait Implementations
impl<T> Send for PreEscaped<T> where
T: Send,
impl<T> Send for PreEscaped<T> where
T: Send,
impl<T> Sync for PreEscaped<T> where
T: Sync,
impl<T> Sync for PreEscaped<T> where
T: Sync,