pub enum WorkspaceSymbolPartialResponse {
SymbolInformationList(Vec<SymbolInformation>),
WorkspaceSymbolList(Vec<WorkspaceSymbol>),
}Variants§
SymbolInformationList(Vec<SymbolInformation>)
WorkspaceSymbolList(Vec<WorkspaceSymbol>)
Trait Implementations§
Source§impl Clone for WorkspaceSymbolPartialResponse
impl Clone for WorkspaceSymbolPartialResponse
Source§fn clone(&self) -> WorkspaceSymbolPartialResponse
fn clone(&self) -> WorkspaceSymbolPartialResponse
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<'de> Deserialize<'de> for WorkspaceSymbolPartialResponse
impl<'de> Deserialize<'de> for WorkspaceSymbolPartialResponse
Source§fn 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
Source§impl From<Vec<SymbolInformation>> for WorkspaceSymbolPartialResponse
impl From<Vec<SymbolInformation>> for WorkspaceSymbolPartialResponse
Source§fn from(v: Vec<SymbolInformation>) -> Self
fn from(v: Vec<SymbolInformation>) -> Self
Converts to this type from the input type.
Source§impl From<Vec<WorkspaceSymbol>> for WorkspaceSymbolPartialResponse
impl From<Vec<WorkspaceSymbol>> for WorkspaceSymbolPartialResponse
Source§fn from(v: Vec<WorkspaceSymbol>) -> Self
fn from(v: Vec<WorkspaceSymbol>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WorkspaceSymbolPartialResponse
impl PartialEq for WorkspaceSymbolPartialResponse
Source§fn eq(&self, other: &WorkspaceSymbolPartialResponse) -> bool
fn eq(&self, other: &WorkspaceSymbolPartialResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WorkspaceSymbolPartialResponse
impl StructuralPartialEq for WorkspaceSymbolPartialResponse
Auto Trait Implementations§
impl Freeze for WorkspaceSymbolPartialResponse
impl RefUnwindSafe for WorkspaceSymbolPartialResponse
impl Send for WorkspaceSymbolPartialResponse
impl Sync for WorkspaceSymbolPartialResponse
impl Unpin for WorkspaceSymbolPartialResponse
impl UnsafeUnpin for WorkspaceSymbolPartialResponse
impl UnwindSafe for WorkspaceSymbolPartialResponse
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