[][src]Trait s3wf2::emitter::ExtractIndices

pub trait ExtractIndices<'d, 's: 'd> {
    type IndexItem;
    type IndexItemIter: Iterator<Item = Self::IndexItem>;
    fn indices(&self, document: &'d Document<'s>) -> Self::IndexItemIter;
}

The trait which extracts indices in document.

Associated Types

type IndexItem

Index item type.

type IndexItemIter: Iterator<Item = Self::IndexItem>

The Iterator type which iterates IndexItem.

Loading content...

Required methods

fn indices(&self, document: &'d Document<'s>) -> Self::IndexItemIter

Returns an iterator which lists the index items.

Loading content...

Implementors

impl<'d, 's: 'd> ExtractIndices<'d, 's> for HtmlEmitter[src]

type IndexItemIter = HtmlAnchorIter<'d, 's>

type IndexItem = HtmlAnchor

Loading content...