pub struct Heading(/* private fields */);Expand description
A heading found in the parsed HTML tree.
Implementations§
Source§impl Heading
impl Heading
Sourcepub fn get_end_level(&self) -> u8
pub fn get_end_level(&self) -> u8
Returns the heading level at the end of this heading, following the last child heading when this is a group.
Sourcepub fn get_start_level(&self) -> u8
pub fn get_start_level(&self) -> u8
Returns the heading level at the start of this heading, following the first child heading when this is a group.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Heading
impl RefUnwindSafe for Heading
impl Send for Heading
impl Sync for Heading
impl Unpin for Heading
impl UnsafeUnpin for Heading
impl UnwindSafe for Heading
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