pub struct HeadingNode {
pub level: u8,
pub title: String,
pub section_type: SectionType,
pub blocks: Vec<Ulid>,
pub children: Vec<HeadingNode>,
pub byte_range: Range<usize>,
}Fields§
§level: u8§title: String§section_type: SectionType§blocks: Vec<Ulid>§children: Vec<HeadingNode>§byte_range: Range<usize>Trait Implementations§
Source§impl Clone for HeadingNode
impl Clone for HeadingNode
Source§fn clone(&self) -> HeadingNode
fn clone(&self) -> HeadingNode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HeadingNode
impl RefUnwindSafe for HeadingNode
impl Send for HeadingNode
impl Sync for HeadingNode
impl Unpin for HeadingNode
impl UnsafeUnpin for HeadingNode
impl UnwindSafe for HeadingNode
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