Enum mdbook::book::SummaryItem[][src]

pub enum SummaryItem {
    Link(Link),
    Separator,
}

An item in SUMMARY.md which could be either a separator or a Link.

Variants

A link to a chapter.

A separator (---).

Trait Implementations

impl Debug for SummaryItem
[src]

Formats the value using the given formatter. Read more

impl Clone for SummaryItem
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SummaryItem
[src]

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

This method tests for !=.

impl From<Link> for SummaryItem
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for SummaryItem

impl Sync for SummaryItem