Trait TagReflection

Source
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 AssignTag

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 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 IncrementTag

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 RenderTag

Source§

fn tag(&self) -> &str

Source§

fn description(&self) -> &str

Implementors§