pub struct Outline {
pub text: Option<String>,
pub sub_outlines: Vec<Outline>,
}Expand description
A displayable HTML outline.
Fields§
§text: Option<String>The visible text for this outline item.
sub_outlines: Vec<Outline>The nested outline items under this item.
Implementations§
Trait Implementations§
Source§impl From<OutlineStructure> for Outline
Converts parsed HTML into a displayable outline.
impl From<OutlineStructure> for Outline
Converts parsed HTML into a displayable outline.
Source§fn from(os: OutlineStructure) -> Self
fn from(os: OutlineStructure) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Outline
impl RefUnwindSafe for Outline
impl Send for Outline
impl Sync for Outline
impl Unpin for Outline
impl UnsafeUnpin for Outline
impl UnwindSafe for Outline
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