pub enum HeadingItem {
String(String),
Em(Emphasis),
}
Expand description
Headings are plain text that can have emphasis.
Variants§
Trait Implementations§
Source§impl Clone for HeadingItem
impl Clone for HeadingItem
Source§fn clone(&self) -> HeadingItem
fn clone(&self) -> HeadingItem
Returns a duplicate 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 HeadingItem
impl Debug for HeadingItem
Source§impl PartialEq for HeadingItem
impl PartialEq for HeadingItem
Source§impl PruneIncodoc for HeadingItem
impl PruneIncodoc for HeadingItem
fn prune_errors(&mut self)
fn prune_contentless(&mut self)
fn is_contentless(&self) -> bool
impl Eq for HeadingItem
impl StructuralPartialEq for HeadingItem
Auto Trait Implementations§
impl Freeze for HeadingItem
impl RefUnwindSafe for HeadingItem
impl Send for HeadingItem
impl Sync for HeadingItem
impl Unpin for HeadingItem
impl UnwindSafe for HeadingItem
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