pub struct TableOfContentsItem {
pub instr: InstrToC,
pub text: String,
pub toc_key: String,
pub level: usize,
pub dirty: bool,
pub page_ref: Option<String>,
}
Fields§
§instr: InstrToC
§text: String
§toc_key: String
§level: usize
§dirty: bool
§page_ref: Option<String>
Implementations§
Trait Implementations§
Source§impl Clone for TableOfContentsItem
impl Clone for TableOfContentsItem
Source§fn clone(&self) -> TableOfContentsItem
fn clone(&self) -> TableOfContentsItem
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 TableOfContentsItem
impl Debug for TableOfContentsItem
Source§impl Default for TableOfContentsItem
impl Default for TableOfContentsItem
Source§fn default() -> TableOfContentsItem
fn default() -> TableOfContentsItem
Returns the “default value” for a type. Read more
Source§impl PartialEq for TableOfContentsItem
impl PartialEq for TableOfContentsItem
Source§impl Serialize for TableOfContentsItem
impl Serialize for TableOfContentsItem
impl StructuralPartialEq for TableOfContentsItem
Auto Trait Implementations§
impl Freeze for TableOfContentsItem
impl RefUnwindSafe for TableOfContentsItem
impl Send for TableOfContentsItem
impl Sync for TableOfContentsItem
impl Unpin for TableOfContentsItem
impl UnwindSafe for TableOfContentsItem
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