Struct docstrings::DocBlock
[−]
[src]
pub struct DocBlock {
pub teaser: String,
pub description: Option<Documentation>,
pub sections: Vec<DocSection>,
}Information extracted from a doc comment
Fields
First line
description: Option<Documentation>
Paragraphs after first line
sections: Vec<DocSection>
Sections
Trait Implementations
impl Debug for DocBlock[src]
impl PartialEq for DocBlock[src]
fn eq(&self, __arg_0: &DocBlock) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &DocBlock) -> bool
This method tests for !=.
impl Eq for DocBlock[src]
impl Clone for DocBlock[src]
fn clone(&self) -> DocBlock
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more