pub struct ServerStore {
pub names_to_info: NameToInfoMaps,
pub completion_items: CompletionItems,
pub compile_commands: CompilationDatabase,
pub include_dirs: HashMap<SourceFile, Vec<PathBuf>>,
}Expand description
Struct to store all documentation the server uses to service user requests
Fields§
§names_to_info: NameToInfoMapsLinks names of instructions, registers, and directives to their documentation
completion_items: CompletionItemsCompletion items for instructions, registers, and directives
compile_commands: CompilationDatabaseCompilation database loaded from compile_commands.json or compile_flags.txt
include_dirs: HashMap<SourceFile, Vec<PathBuf>>Include directories
Trait Implementations§
Source§impl Debug for ServerStore
impl Debug for ServerStore
Source§impl Default for ServerStore
impl Default for ServerStore
Source§fn default() -> ServerStore
fn default() -> ServerStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ServerStore
impl RefUnwindSafe for ServerStore
impl Send for ServerStore
impl Sync for ServerStore
impl Unpin for ServerStore
impl UnwindSafe for ServerStore
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
Source§impl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
Source§fn extract_context(self, _original_input: I)
fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original
input to the nom parser, extract more the useful context information. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
Source§fn recreate_context(_original_input: I, tail: I) -> I
fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom,
recreate a context in the original string where the error occurred. Read more