Struct maud::PreEscaped [] [src]

pub struct PreEscaped<T: AsRef<str>>(pub T);

A wrapper that renders the inner value without escaping.

Methods

impl<T: AsRef<str> + Into<String>> PreEscaped<T>
[src]

[src]

Converts the inner value to a string.

Trait Implementations

impl Modifier<Response> for PreEscaped<String>
[src]

[src]

Modify F with self.

impl WriteBody for PreEscaped<String>
[src]

[src]

Writes the body to the provided Write.

impl Responder<'static> for PreEscaped<String>
[src]

[src]

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]

[src]

Formats the value using the given formatter.

impl<T: AsRef<str>> Render for PreEscaped<T>
[src]

[src]

Appends a representation of self to the given buffer. Read more

[src]

Renders self as a block of Markup.

impl<T: AsRef<str> + Into<String>> Into<String> for PreEscaped<T>
[src]

[src]

Performs the conversion.