pub struct DocBlock {
pub teaser: String,
pub description: Option<Documentation>,
pub sections: Vec<DocSection>,
}Expand description
Information extracted from a doc comment
Fields§
First line
description: Option<Documentation>Paragraphs after first line
sections: Vec<DocSection>Sections
Trait Implementations§
impl Eq for DocBlock
impl StructuralPartialEq for DocBlock
Auto Trait Implementations§
impl Freeze for DocBlock
impl RefUnwindSafe for DocBlock
impl Send for DocBlock
impl Sync for DocBlock
impl Unpin for DocBlock
impl UnwindSafe for DocBlock
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