[][src]Struct liquid::compiler::Raw

pub struct Raw<'a> { /* fields omitted */ }

An element that is raw text.

Methods

impl<'a> Raw<'a>
[src]

pub fn to_renderable(self) -> Box<dyn Renderable + 'static>
[src]

Turns the text into a Renderable.

pub fn as_str(&self) -> &'a str
[src]

Returns the text as a str.

Trait Implementations

impl<'a> Into<&'a str> for Raw<'a>
[src]

impl<'a> From<Pair<'a, Rule>> for Raw<'a>
[src]

Auto Trait Implementations

impl<'a> Send for Raw<'a>

impl<'a> Sync for Raw<'a>

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any