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
Link(Link)
A link to a chapter.
Separator
A separator (---
).
Trait Implementations
impl Debug for SummaryItem
[src]
impl Clone for SummaryItem
[src]
fn clone(&self) -> SummaryItem
[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 SummaryItem
[src]
fn eq(&self, __arg_0: &SummaryItem) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SummaryItem) -> bool
[src]
This method tests for !=
.
impl From<Link> for SummaryItem
[src]
fn from(other: Link) -> SummaryItem
[src]
Performs the conversion.