pub struct RustAnalyzerAdapter { /* private fields */ }Expand description
Adapter for Rust semantic analyzer
Implementations§
Trait Implementations§
Source§impl Default for RustAnalyzerAdapter
impl Default for RustAnalyzerAdapter
Source§impl SemanticAnalyzerProvider for RustAnalyzerAdapter
impl SemanticAnalyzerProvider for RustAnalyzerAdapter
Source§fn analyze(&self, code: &str) -> ProviderResult<SemanticInfo>
fn analyze(&self, code: &str) -> ProviderResult<SemanticInfo>
Analyze code and extract semantic information
Source§fn extract_symbols(&self, code: &str) -> ProviderResult<Vec<Symbol>>
fn extract_symbols(&self, code: &str) -> ProviderResult<Vec<Symbol>>
Extract symbols from code
Source§fn get_hover_info(
&self,
code: &str,
position: Position,
) -> ProviderResult<Option<String>>
fn get_hover_info( &self, code: &str, position: Position, ) -> ProviderResult<Option<String>>
Get hover information at a specific position
Auto Trait Implementations§
impl Freeze for RustAnalyzerAdapter
impl RefUnwindSafe for RustAnalyzerAdapter
impl Send for RustAnalyzerAdapter
impl Sync for RustAnalyzerAdapter
impl Unpin for RustAnalyzerAdapter
impl UnwindSafe for RustAnalyzerAdapter
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