Struct html_outliner::OutlineStructure
source · pub struct OutlineStructure {
pub sectioning_type: SectioningType,
pub heading: Option<Heading>,
pub sub_outline_structures: Vec<OutlineStructure>,
}
Fields§
§sectioning_type: SectioningType
§heading: Option<Heading>
§sub_outline_structures: Vec<OutlineStructure>
Implementations§
source§impl OutlineStructure
impl OutlineStructure
pub fn parse_html<S: AsRef<str>>(html: S, max_depth: usize) -> OutlineStructure
Trait Implementations§
source§impl Clone for OutlineStructure
impl Clone for OutlineStructure
source§fn clone(&self) -> OutlineStructure
fn clone(&self) -> OutlineStructure
Returns a copy 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 moresource§impl Debug for OutlineStructure
impl Debug for OutlineStructure
source§impl From<OutlineStructure> for Outline
impl From<OutlineStructure> for Outline
source§fn from(os: OutlineStructure) -> Self
fn from(os: OutlineStructure) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for OutlineStructure
impl Send for OutlineStructure
impl Sync for OutlineStructure
impl Unpin for OutlineStructure
impl UnwindSafe for OutlineStructure
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