pub enum HeadingKind {
Atx,
Setext,
}Expand description
Which heading syntax produced a Heading.
Variants§
Atx
ATX heading: # Title … ###### Title.
Setext
Setext heading: Title underlined with === (level 1) or --- (level 2).
Trait Implementations§
Source§impl Clone for HeadingKind
impl Clone for HeadingKind
impl Copy for HeadingKind
Source§impl Debug for HeadingKind
impl Debug for HeadingKind
impl Eq for HeadingKind
Source§impl PartialEq for HeadingKind
impl PartialEq for HeadingKind
impl StructuralPartialEq for HeadingKind
Auto Trait Implementations§
impl Freeze for HeadingKind
impl RefUnwindSafe for HeadingKind
impl Send for HeadingKind
impl Sync for HeadingKind
impl Unpin for HeadingKind
impl UnsafeUnpin for HeadingKind
impl UnwindSafe for HeadingKind
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