Trait BlockReflection

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

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 TableRowBlock

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 UnlessBlock

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

Source§

impl BlockReflection for RawBlock

Source§

fn start_tag(&self) -> &str

Source§

fn end_tag(&self) -> &str

Source§

fn description(&self) -> &str

Implementors§