pub enum SummaryItem {
Link(Link),
Separator,
PartTitle(String),
}
Expand description
An item in SUMMARY.md
which could be either a separator or a Link
.
Variants§
Trait Implementations§
Source§impl Clone for SummaryItem
impl Clone for SummaryItem
Source§fn clone(&self) -> SummaryItem
fn clone(&self) -> SummaryItem
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SummaryItem
impl Debug for SummaryItem
Source§impl<'de> Deserialize<'de> for SummaryItem
impl<'de> Deserialize<'de> for SummaryItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Link> for SummaryItem
impl From<Link> for SummaryItem
Source§fn from(other: Link) -> SummaryItem
fn from(other: Link) -> SummaryItem
Converts to this type from the input type.
Source§impl PartialEq for SummaryItem
impl PartialEq for SummaryItem
Source§impl Serialize for SummaryItem
impl Serialize for SummaryItem
impl StructuralPartialEq for SummaryItem
Auto Trait Implementations§
impl Freeze for SummaryItem
impl RefUnwindSafe for SummaryItem
impl Send for SummaryItem
impl Sync for SummaryItem
impl Unpin for SummaryItem
impl UnwindSafe for SummaryItem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more