StylingContextInterface

Trait StylingContextInterface 

Source
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§

Source

fn format_footnote_definition( &self, html: &HtmlAllocator, reference: &Footnoteref, backreferences: &[Backref], clean_slice: &ASlice<Node>, ) -> Result<Flat<Node>>

Source

fn format_footnotes( &self, body: ASlice<Node>, html: &HtmlAllocator, ) -> Result<AId<Node>>

Implementors§