pub struct RustAnalyzer;Expand description
Rust semantic analyzer
Implementations§
Source§impl RustAnalyzer
impl RustAnalyzer
Trait Implementations§
Source§impl Default for RustAnalyzer
impl Default for RustAnalyzer
Source§impl SemanticAnalyzer for RustAnalyzer
impl SemanticAnalyzer for RustAnalyzer
Source§fn analyze(&self, _code: &str) -> SemanticResult<SemanticInfo>
fn analyze(&self, _code: &str) -> SemanticResult<SemanticInfo>
Analyze code and extract semantic information
Source§fn extract_symbols(&self, _code: &str) -> SemanticResult<Vec<Symbol>>
fn extract_symbols(&self, _code: &str) -> SemanticResult<Vec<Symbol>>
Extract symbols from code
Source§fn get_hover_info(
&self,
_code: &str,
_position: Position,
) -> SemanticResult<Option<String>>
fn get_hover_info( &self, _code: &str, _position: Position, ) -> SemanticResult<Option<String>>
Get hover information at a specific position
Auto Trait Implementations§
impl Freeze for RustAnalyzer
impl RefUnwindSafe for RustAnalyzer
impl Send for RustAnalyzer
impl Sync for RustAnalyzer
impl Unpin for RustAnalyzer
impl UnwindSafe for RustAnalyzer
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