[][src]Struct liquid_compiler::Exp

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

An element that is an expression.

Methods

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

pub fn parse(self, options: &Language) -> Result<Box<dyn Renderable>>[src]

Parses the expression just as if it weren't inside any block.

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

Returns the expression as a str.

Trait Implementations

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

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Exp<'a>

impl<'a> !Send for Exp<'a>

impl<'a> !Sync for Exp<'a>

impl<'a> Unpin for Exp<'a>

impl<'a> UnwindSafe for Exp<'a>

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.