Struct docx_rs::TableOfContentsItem
source · [−]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
sourceimpl Clone for TableOfContentsItem
impl Clone for TableOfContentsItem
sourcefn clone(&self) -> TableOfContentsItem
fn clone(&self) -> TableOfContentsItem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TableOfContentsItem
impl Debug for TableOfContentsItem
sourceimpl Default for TableOfContentsItem
impl Default for TableOfContentsItem
sourcefn default() -> TableOfContentsItem
fn default() -> TableOfContentsItem
Returns the “default value” for a type. Read more
sourceimpl PartialEq<TableOfContentsItem> for TableOfContentsItem
impl PartialEq<TableOfContentsItem> for TableOfContentsItem
sourcefn eq(&self, other: &TableOfContentsItem) -> bool
fn eq(&self, other: &TableOfContentsItem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for TableOfContentsItem
impl Serialize for TableOfContentsItem
impl StructuralPartialEq for TableOfContentsItem
Auto Trait Implementations
impl RefUnwindSafe for TableOfContentsItem
impl Send for TableOfContentsItem
impl Sync for TableOfContentsItem
impl Unpin for TableOfContentsItem
impl UnwindSafe for TableOfContentsItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more