pub struct LspWorkspaceSymbol {
pub name: String,
pub kind: u32,
pub location: WireLocation,
pub container_name: Option<String>,
}Expand description
LSP-compliant workspace symbol for wire format in Navigate/Analyze workflows.
Fields§
§name: StringSymbol name as displayed to the user
kind: u32LSP symbol kind number (see lsp_types::SymbolKind)
location: WireLocationLocation of the symbol definition
container_name: Option<String>Name of the containing symbol (package, class)
Trait Implementations§
Source§impl Debug for LspWorkspaceSymbol
impl Debug for LspWorkspaceSymbol
Source§impl From<&WorkspaceSymbol> for LspWorkspaceSymbol
impl From<&WorkspaceSymbol> for LspWorkspaceSymbol
Source§fn from(sym: &WorkspaceSymbol) -> LspWorkspaceSymbol
fn from(sym: &WorkspaceSymbol) -> LspWorkspaceSymbol
Converts to this type from the input type.
Source§impl Serialize for LspWorkspaceSymbol
impl Serialize for LspWorkspaceSymbol
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for LspWorkspaceSymbol
impl RefUnwindSafe for LspWorkspaceSymbol
impl Send for LspWorkspaceSymbol
impl Sync for LspWorkspaceSymbol
impl Unpin for LspWorkspaceSymbol
impl UnsafeUnpin for LspWorkspaceSymbol
impl UnwindSafe for LspWorkspaceSymbol
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