Struct lsp_types::DocumentSymbolOptions
source · [−]pub struct DocumentSymbolOptions {
pub label: Option<String>,
pub work_done_progress_options: WorkDoneProgressOptions,
}
Fields
label: Option<String>
A human-readable string that is shown when multiple outlines trees are shown for the same document.
@since 3.16.0
work_done_progress_options: WorkDoneProgressOptions
Trait Implementations
sourceimpl Clone for DocumentSymbolOptions
impl Clone for DocumentSymbolOptions
sourcefn clone(&self) -> DocumentSymbolOptions
fn clone(&self) -> DocumentSymbolOptions
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 DocumentSymbolOptions
impl Debug for DocumentSymbolOptions
sourceimpl<'de> Deserialize<'de> for DocumentSymbolOptions
impl<'de> Deserialize<'de> for DocumentSymbolOptions
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<DocumentSymbolOptions> for DocumentSymbolOptions
impl PartialEq<DocumentSymbolOptions> for DocumentSymbolOptions
sourcefn eq(&self, other: &DocumentSymbolOptions) -> bool
fn eq(&self, other: &DocumentSymbolOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DocumentSymbolOptions) -> bool
fn ne(&self, other: &DocumentSymbolOptions) -> bool
This method tests for !=
.
sourceimpl Serialize for DocumentSymbolOptions
impl Serialize for DocumentSymbolOptions
impl Eq for DocumentSymbolOptions
impl StructuralEq for DocumentSymbolOptions
impl StructuralPartialEq for DocumentSymbolOptions
Auto Trait Implementations
impl RefUnwindSafe for DocumentSymbolOptions
impl Send for DocumentSymbolOptions
impl Sync for DocumentSymbolOptions
impl Unpin for DocumentSymbolOptions
impl UnwindSafe for DocumentSymbolOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more