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
title: Option<String>
An optional title for the SUMMARY.md
, currently just ignored.
prefix_chapters: Vec<SummaryItem>
Chapters before the main text (e.g. an introduction).
numbered_chapters: Vec<SummaryItem>
The main chapters in the document.
suffix_chapters: Vec<SummaryItem>
Items which come after the main document (e.g. a conclusion).
Trait Implementations
impl Debug for Summary
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Summary
[src]
fn clone(&self) -> Summary
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more