pub struct Raw<S: AsRef<str>>(pub S);Expand description
Raw content marker.
When rendered, raw content will not be escaped.
Tuple Fields§
§0: STrait Implementations§
Source§impl<S: Ord + AsRef<str>> Ord for Raw<S>
impl<S: Ord + AsRef<str>> Ord for Raw<S>
Source§impl<S: PartialOrd + AsRef<str>> PartialOrd for Raw<S>
impl<S: PartialOrd + AsRef<str>> PartialOrd for Raw<S>
Source§impl<S> Render for Raw<S>
impl<S> Render for Raw<S>
Source§fn render(&self, tmpl: &mut TemplateBuffer<'_>)
fn render(&self, tmpl: &mut TemplateBuffer<'_>)
Render this into a template buffer.
Source§impl<S> RenderMut for Raw<S>
impl<S> RenderMut for Raw<S>
Source§fn render_mut(&mut self, tmpl: &mut TemplateBuffer<'_>)
fn render_mut(&mut self, tmpl: &mut TemplateBuffer<'_>)
Render this into a template buffer.
Source§impl<S> RenderOnce for Raw<S>
impl<S> RenderOnce for Raw<S>
Source§fn render_once(self, tmpl: &mut TemplateBuffer<'_>)
fn render_once(self, tmpl: &mut TemplateBuffer<'_>)
Render this into a template buffer.
impl<S: Copy + AsRef<str>> Copy for Raw<S>
impl<S: Eq + AsRef<str>> Eq for Raw<S>
impl<S: AsRef<str>> StructuralPartialEq for Raw<S>
Auto Trait Implementations§
impl<S> Freeze for Raw<S>where
S: Freeze,
impl<S> RefUnwindSafe for Raw<S>where
S: RefUnwindSafe,
impl<S> Send for Raw<S>where
S: Send,
impl<S> Sync for Raw<S>where
S: Sync,
impl<S> Unpin for Raw<S>where
S: Unpin,
impl<S> UnwindSafe for Raw<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more