Struct rustdoc::html::toc::TocBuilder [] [src]

pub struct TocBuilder { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (rustdoc)

Progressive construction of a table of contents.

Methods

impl TocBuilder
[src]

🔬 This is a nightly-only experimental API. (rustdoc)

🔬 This is a nightly-only experimental API. (rustdoc)

Convert into a true Toc struct.

🔬 This is a nightly-only experimental API. (rustdoc)

Push a level level heading into the appropriate place in the hierarchy, returning a string containing the section number in <num>.<num>.<num> format.

Trait Implementations

impl PartialEq for TocBuilder
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.