pub struct Section {
pub heading_index: Option<usize>,
pub byte_range: Range<usize>,
}Expand description
A span of the body owned by one heading (or the preamble).
Fields§
§heading_index: Option<usize>Index into MarkdownDoc::headings; None for pre-heading content.
byte_range: Range<usize>Byte span in the original input.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnsafeUnpin 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