pub struct Section {
pub heading: Heading,
pub items: Vec<SectionItem>,
pub tags: Tags,
pub props: Props,
}
Expand description
A section is a heading followed by content that goes with it.
Fields§
§heading: Heading
§items: Vec<SectionItem>
§props: Props
Implementations§
Trait Implementations§
Source§impl PruneIncodoc for Section
impl PruneIncodoc for Section
fn prune_errors(&mut self)
fn prune_contentless(&mut self)
fn is_contentless(&self) -> bool
impl Eq for Section
impl StructuralPartialEq for Section
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnwindSafe for Section
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