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

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

Required Methods§

source

fn start_tag(&self) -> &str

source

fn end_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 BlockReflection for RawBlock

source§

fn start_tag(&self) -> &str

source§

fn end_tag(&self) -> &str

source§

fn description(&self) -> &str

source§

impl BlockReflection for IfBlock

source§

fn start_tag(&self) -> &str

source§

fn end_tag(&self) -> &str

source§

fn description(&self) -> &str

source§

impl BlockReflection for CommentBlock

source§

fn start_tag(&self) -> &str

source§

fn end_tag(&self) -> &str

source§

fn description(&self) -> &str

source§

impl BlockReflection for TableRowBlock

source§

fn start_tag(&self) -> &str

source§

fn end_tag(&self) -> &str

source§

fn description(&self) -> &str

source§

impl BlockReflection for CaptureBlock

source§

fn start_tag(&self) -> &str

source§

fn end_tag(&self) -> &str

source§

fn description(&self) -> &str

source§

impl BlockReflection for CaseBlock

source§

fn start_tag(&self) -> &str

source§

fn end_tag(&self) -> &str

source§

fn description(&self) -> &str

source§

impl BlockReflection for UnlessBlock

source§

fn start_tag(&self) -> &str

source§

fn end_tag(&self) -> &str

source§

fn description(&self) -> &str

source§

impl BlockReflection for ForBlock

source§

fn start_tag(&self) -> &str

source§

fn end_tag(&self) -> &str

source§

fn description(&self) -> &str

source§

impl BlockReflection for IfChangedBlock

source§

fn start_tag(&self) -> &str

source§

fn end_tag(&self) -> &str

source§

fn description(&self) -> &str

Implementors§