Struct horrorshow::Raw [] [src]

pub struct Raw<S: AsRef<str>>(pub S);

Raw content marker.

When rendered, raw content will not be escaped.

Trait Implementations

impl<S: Eq + AsRef<str>> Eq for Raw<S>
[src]

impl<S: PartialEq + AsRef<str>> PartialEq for Raw<S>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<S: Ord + AsRef<str>> Ord for Raw<S>
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl<S: PartialOrd + AsRef<str>> PartialOrd for Raw<S>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<S: Clone + AsRef<str>> Clone for Raw<S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S: Copy + AsRef<str>> Copy for Raw<S>
[src]

impl<S> RenderOnce for Raw<S> where
    S: AsRef<str>, 
[src]

Render this into a template buffer.

Returns a (very) rough estimate of how many bytes this Render will use.

impl<S> RenderMut for Raw<S> where
    S: AsRef<str>, 
[src]

Render this into a template buffer.

impl<S> Render for Raw<S> where
    S: AsRef<str>, 
[src]

Render this into a template buffer.

Auto Trait Implementations

impl<S> Send for Raw<S> where
    S: Send

impl<S> Sync for Raw<S> where
    S: Sync