Struct mdbook::book::Summary [] [src]

pub struct Summary {
    pub title: Option<String>,
    pub prefix_chapters: Vec<SummaryItem>,
    pub numbered_chapters: Vec<SummaryItem>,
    pub suffix_chapters: Vec<SummaryItem>,
}

The parsed SUMMARY.md, specifying how the book should be laid out.

Fields

An optional title for the SUMMARY.md, currently just ignored.

Chapters before the main text (e.g. an introduction).

The main chapters in the document.

Items which come after the main document (e.g. a conclusion).

Trait Implementations

impl Debug for Summary
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Summary
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Summary
[src]

[src]

Returns the "default value" for a type. Read more

impl PartialEq for Summary
[src]

[src]

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

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for Summary

impl Sync for Summary