pub trait StylingContextInterface<'c> {
// Required methods
fn format_footnote_definition(
&self,
html: &HtmlAllocator,
reference: &Footnoteref,
backreferences: &[Backref],
clean_slice: &ASlice<Node>,
) -> Result<Flat<Node>>;
fn format_footnotes(
&self,
body: ASlice<Node>,
html: &HtmlAllocator,
) -> Result<AId<Node>>;
}Required Methods§
fn format_footnote_definition( &self, html: &HtmlAllocator, reference: &Footnoteref, backreferences: &[Backref], clean_slice: &ASlice<Node>, ) -> Result<Flat<Node>>
fn format_footnotes( &self, body: ASlice<Node>, html: &HtmlAllocator, ) -> Result<AId<Node>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".