pub struct TabOutline {
pub tab_id: Option<String>,
pub title: Option<String>,
pub nesting_level: i64,
pub characters: i64,
pub paragraphs: usize,
pub tables: usize,
pub section_breaks: usize,
pub tables_of_contents: usize,
pub headings: Vec<Heading>,
}Expand description
Aggregate counts and the heading outline for one tab.
Fields§
§tab_id: Option<String>The tab’s id, absent for a legacy single-body document.
title: Option<String>The tab’s title, likewise.
nesting_level: i64Depth in the tab tree.
characters: i64The tab’s length in UTF-16 code units — the highest endIndex seen,
and so the upper bound on any valid index within it.
paragraphs: usizeHow many paragraphs it contains, at every nesting depth.
tables: usizeHow many tables.
section_breaks: usizeHow many section breaks.
tables_of_contents: usizeHow many generated tables of contents.
headings: Vec<Heading>Every heading, in document order.
Trait Implementations§
Source§impl Clone for TabOutline
impl Clone for TabOutline
Source§impl Debug for TabOutline
impl Debug for TabOutline
Source§impl Default for TabOutline
impl Default for TabOutline
impl Eq for TabOutline
Source§impl PartialEq for TabOutline
impl PartialEq for TabOutline
Source§impl Serialize for TabOutline
impl Serialize for TabOutline
impl StructuralPartialEq for TabOutline
Auto Trait Implementations§
impl Freeze for TabOutline
impl RefUnwindSafe for TabOutline
impl Send for TabOutline
impl Sync for TabOutline
impl Unpin for TabOutline
impl UnsafeUnpin for TabOutline
impl UnwindSafe for TabOutline
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more