pub struct DocumentSymbol {
pub font: Option<String>,
pub code: Option<u16>,
pub locator: DocumentLocator,
pub line: usize,
pub unicode: Option<char>,
}Expand description
One rendered DOCX font glyph with exact source identity and optional verified text.
Fields§
§font: Option<String>Font named by w:font, if supplied.
code: Option<u16>Numeric w:char value, if supplied.
locator: DocumentLocatorExact package part, paragraph, run, and in-run occurrence span.
line: usizeOne-based line containing the glyph or unresolved placeholder.
unicode: Option<char>Unicode text only when the font/code mapping is verified.
Trait Implementations§
Source§impl Clone for DocumentSymbol
impl Clone for DocumentSymbol
Source§fn clone(&self) -> DocumentSymbol
fn clone(&self) -> DocumentSymbol
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DocumentSymbol
impl Debug for DocumentSymbol
impl Eq for DocumentSymbol
Source§impl PartialEq for DocumentSymbol
impl PartialEq for DocumentSymbol
Source§fn eq(&self, other: &DocumentSymbol) -> bool
fn eq(&self, other: &DocumentSymbol) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DocumentSymbol
Auto Trait Implementations§
impl Freeze for DocumentSymbol
impl RefUnwindSafe for DocumentSymbol
impl Send for DocumentSymbol
impl Sync for DocumentSymbol
impl Unpin for DocumentSymbol
impl UnsafeUnpin for DocumentSymbol
impl UnwindSafe for DocumentSymbol
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.