pub enum OutlineKind {
Float,
Theorem,
}Expand description
How an environment appears in the document-symbol outline, if at all. A small
curated category over the block environments: only floats and theorem-likes
earn an outline entry, so layout environments (center, quote, frame, …)
stay out of the symbol tree. Drives SymbolKind selection in the LSP layer.
Variants§
Float
A float (figure, table, and their starred forms).
Theorem
A theorem-like environment (theorem, lemma, proof, …).
Trait Implementations§
Source§impl Clone for OutlineKind
impl Clone for OutlineKind
Source§fn clone(&self) -> OutlineKind
fn clone(&self) -> OutlineKind
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 OutlineKind
Source§impl Debug for OutlineKind
impl Debug for OutlineKind
impl Eq for OutlineKind
Source§impl PartialEq for OutlineKind
impl PartialEq for OutlineKind
impl StructuralPartialEq for OutlineKind
Auto Trait Implementations§
impl Freeze for OutlineKind
impl RefUnwindSafe for OutlineKind
impl Send for OutlineKind
impl Sync for OutlineKind
impl Unpin for OutlineKind
impl UnsafeUnpin for OutlineKind
impl UnwindSafe for OutlineKind
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