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>

Implementors§