liquid_compiler

Trait BlockReflection

Source
pub trait BlockReflection {
    // Required methods
    fn start_tag(&self) -> &'static str;
    fn end_tag(&self) -> &'static str;
    fn description(&self) -> &'static str;

    // Provided methods
    fn example(&self) -> Option<&'static str> { ... }
    fn spec(&self) -> Option<&'static str> { ... }
}

Required Methods§

Source

fn start_tag(&self) -> &'static str

Source

fn end_tag(&self) -> &'static str

Source

fn description(&self) -> &'static str

Provided Methods§

Source

fn example(&self) -> Option<&'static str>

Source

fn spec(&self) -> Option<&'static str>

Implementors§