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]

Converts the inner value to a string.

Trait Implementations

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

Modify F with self.

impl WriteBody for PreEscaped<String>
[src]

Writes the body to the provided Write.

impl Responder<'static> for PreEscaped<String>
[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]

Formats the value using the given formatter. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

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

Renders self as a block of Markup.

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

Performs the conversion.

Auto Trait Implementations

impl<T> Send for PreEscaped<T> where
    T: Send

impl<T> Sync for PreEscaped<T> where
    T: Sync