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