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