pub trait BlockReflection {
// Required methods
fn start_tag(&self) -> &'static str;
fn end_tag(&self) -> &'static str;
fn description(&self) -> &'static str;
// Provided methods
fn example(&self) -> Option<&'static str> { ... }
fn spec(&self) -> Option<&'static str> { ... }
}Required Methods§
fn start_tag(&self) -> &'static str
fn end_tag(&self) -> &'static str
fn description(&self) -> &'static str
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".