pub struct Paragraph {
pub name: String,
pub statements: Vec<Stmt>,
pub section: Option<String>,
pub is_section: bool,
pub pos: Pos,
}Expand description
A paragraph, or a section header holding the statements before the section’s first paragraph.
Fields§
§name: String§statements: Vec<Stmt>§section: Option<String>The section the paragraph belongs to, or the section’s own name for its header.
is_section: bool§pos: PosTrait Implementations§
impl Eq for Paragraph
impl StructuralPartialEq for Paragraph
Auto Trait Implementations§
impl Freeze for Paragraph
impl RefUnwindSafe for Paragraph
impl Send for Paragraph
impl Sync for Paragraph
impl Unpin for Paragraph
impl UnsafeUnpin for Paragraph
impl UnwindSafe for Paragraph
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