Struct horrorshow::prelude::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]
fn eq(&self, __arg_0: &Raw<S>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Raw<S>) -> bool
[src]
This method tests for !=
.
impl<S: Ord + AsRef<str>> Ord for Raw<S>
[src]
fn cmp(&self, __arg_0: &Raw<S>) -> Ordering
[src]
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
impl<S: PartialOrd + AsRef<str>> PartialOrd for Raw<S>
[src]
fn partial_cmp(&self, __arg_0: &Raw<S>) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &Raw<S>) -> bool
[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &Raw<S>) -> bool
[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &Raw<S>) -> bool
[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &Raw<S>) -> bool
[src]
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]
fn clone(&self) -> Raw<S>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
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]
S: AsRef<str>,
fn render_once(self, tmpl: &mut TemplateBuffer)
[src]
Render this into a template buffer.
fn size_hint(&self) -> usize
[src]
Returns a (very) rough estimate of how many bytes this Render will use.
impl<S> RenderMut for Raw<S> where
S: AsRef<str>,
[src]
S: AsRef<str>,
fn render_mut(&mut self, tmpl: &mut TemplateBuffer)
[src]
Render this into a template buffer.
impl<S> Render for Raw<S> where
S: AsRef<str>,
[src]
S: AsRef<str>,
fn render(&self, tmpl: &mut TemplateBuffer)
[src]
Render this into a template buffer.