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 Debug for SummaryItem
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for SummaryItem
[src]
impl Clone for SummaryItem
fn clone(&self) -> SummaryItem
[src]
fn clone(&self) -> SummaryItem
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for SummaryItem
[src]
impl PartialEq for SummaryItem
fn eq(&self, other: &SummaryItem) -> bool
[src]
fn eq(&self, other: &SummaryItem) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SummaryItem) -> bool
[src]
fn ne(&self, other: &SummaryItem) -> bool
This method tests for !=
.
impl From<Link> for SummaryItem
[src]
impl From<Link> for SummaryItem
fn from(other: Link) -> SummaryItem
[src]
fn from(other: Link) -> SummaryItem
Performs the conversion.
Auto Trait Implementations
impl Send for SummaryItem
impl Send for SummaryItem
impl Sync for SummaryItem
impl Sync for SummaryItem