Enum mdbook::BookItem
[−]
[src]
pub enum BookItem { Chapter(Chapter), Separator, }
Enum representing any type of item which can be added to a book.
Variants
Chapter(Chapter)
A nested chapter.
Separator
A section separator.
Trait Implementations
impl Debug for BookItem
[src]
impl Clone for BookItem
[src]
fn clone(&self) -> BookItem
[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
impl PartialEq for BookItem
[src]
fn eq(&self, __arg_0: &BookItem) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BookItem) -> bool
[src]
This method tests for !=
.