Struct twig::nodes::Module [] [src]

pub struct Module<'c> {
    pub body: Body<'c>,
}

Fields

body

Methods

impl<'c> Module<'c>

Root Twig AST node.

fn new() -> Module<'c>

Trait Implementations

impl<'c> Parse<'c> for Module<'c>

type Output = Module<'c>

fn parse<'r>(parser: &mut Parser<'r, 'c>) -> TemplateResult<Module<'c>>

impl<'c> Parse<'c> for Module<'c>

type Output = Module<'c>

fn parse<'r>(parser: &mut Parser<'r, 'c>) -> TemplateResult<Module<'c>>

impl<'c> Compile<'c> for Module<'c>

fn compile<'r>(&'r self, stage: &'r mut Staging<'c, Value>) -> TemplateResult<()>

Derived Implementations

impl<'c> Debug for Module<'c>

fn fmt(&self, __arg_0: &mut Formatter) -> Result