Enum mdbook::BookItem [] [src]

pub enum BookItem {
    Chapter(Chapter),
    Separator,
}

Enum representing any type of item which can be added to a book.

Variants

A nested chapter.

A section separator.

Trait Implementations

impl Debug for BookItem
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for BookItem
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for BookItem
[src]

[src]

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

[src]

This method tests for !=.

impl From<Chapter> for BookItem
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for BookItem

impl Sync for BookItem