pub trait TagReflection {
    // Required methods
    fn tag(&self) -> &str;
    fn description(&self) -> &str;

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

Required Methods§

source

fn tag(&self) -> &str

source

fn description(&self) -> &str

Provided Methods§

source

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

source

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

Implementations on Foreign Types§

source§

impl TagReflection for RenderTag

source§

fn tag(&self) -> &str

source§

fn description(&self) -> &str

source§

impl TagReflection for IncludeTag

source§

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

source§

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

source§

impl TagReflection for DecrementTag

source§

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

source§

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

source§

impl TagReflection for BreakTag

source§

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

source§

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

source§

impl TagReflection for ContinueTag

source§

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

source§

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

source§

impl TagReflection for CycleTag

source§

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

source§

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

source§

impl TagReflection for AssignTag

source§

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

source§

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

source§

impl TagReflection for IncrementTag

source§

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

source§

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

Implementors§