Trait Show
pub trait Show {
// Required method
fn show(
&self,
engine: &mut Engine<'_>,
styles: StyleChain<'_>,
) -> Result<Content, EcoVec<SourceDiagnostic>>;
}
Expand description
Defines a built-in show rule for an element.
Required Methods§
fn show(
&self,
engine: &mut Engine<'_>,
styles: StyleChain<'_>,
) -> Result<Content, EcoVec<SourceDiagnostic>>
fn show( &self, engine: &mut Engine<'_>, styles: StyleChain<'_>, ) -> Result<Content, EcoVec<SourceDiagnostic>>
Execute the base recipe for this element.