pub struct Heading {
pub level: u8,
pub items: Vec<HeadingItem>,
pub tags: Tags,
pub props: Props,
}
Expand description
Heading, a title for the accompanying content.
Fields§
§level: u8
§items: Vec<HeadingItem>
§props: Props
Implementations§
Trait Implementations§
Source§impl PruneIncodoc for Heading
impl PruneIncodoc for Heading
fn prune_errors(&mut self)
fn prune_contentless(&mut self)
fn is_contentless(&self) -> bool
impl Eq for Heading
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