pub struct Heading {
pub kind: HeadingKind,
pub content: Vec<Inline>,
}Expand description
Heading with level 1–6 and inline content.
Fields§
§kind: HeadingKindKind of heading (ATX or Setext) together with the level.
content: Vec<Inline>Inlines that form the heading text (before trimming).
Trait Implementations§
impl StructuralPartialEq for Heading
Auto Trait Implementations§
impl Freeze for Heading
impl RefUnwindSafe for Heading
impl Send for Heading
impl Sync for Heading
impl Unpin for Heading
impl UnwindSafe for Heading
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