pub enum OutlineSymbol {
Section,
Float,
Theorem,
Label,
Macro,
Environment,
}Expand description
The kind of an outline entry, driving the LSP SymbolKind mapping.
Variants§
Section
A sectioning command (\section, \subsection, …).
Float
A float environment (figure, table).
Theorem
A theorem-like environment (theorem, lemma, proof, …).
Label
A \label{…} definition.
Macro
A documented .dtx macro: a macro environment or \DescribeMacro.
Environment
A documented .dtx environment: an environment environment or
\DescribeEnv.
Trait Implementations§
Source§impl Clone for OutlineSymbol
impl Clone for OutlineSymbol
Source§fn clone(&self) -> OutlineSymbol
fn clone(&self) -> OutlineSymbol
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 moreimpl Copy for OutlineSymbol
Source§impl Debug for OutlineSymbol
impl Debug for OutlineSymbol
impl Eq for OutlineSymbol
Source§impl PartialEq for OutlineSymbol
impl PartialEq for OutlineSymbol
impl StructuralPartialEq for OutlineSymbol
Auto Trait Implementations§
impl Freeze for OutlineSymbol
impl RefUnwindSafe for OutlineSymbol
impl Send for OutlineSymbol
impl Sync for OutlineSymbol
impl Unpin for OutlineSymbol
impl UnsafeUnpin for OutlineSymbol
impl UnwindSafe for OutlineSymbol
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