pub struct PythonDiagnosticsAdapter { /* private fields */ }Expand description
Adapter for Python diagnostics provider
Implementations§
Source§impl PythonDiagnosticsAdapter
impl PythonDiagnosticsAdapter
Sourcepub fn with_config(config: LanguageConfig) -> Self
pub fn with_config(config: LanguageConfig) -> Self
Create with configuration
Trait Implementations§
Source§impl Default for PythonDiagnosticsAdapter
impl Default for PythonDiagnosticsAdapter
Source§impl DiagnosticsProvider for PythonDiagnosticsAdapter
impl DiagnosticsProvider for PythonDiagnosticsAdapter
Source§fn generate_diagnostics(&self, code: &str) -> ProviderResult<Vec<Diagnostic>>
fn generate_diagnostics(&self, code: &str) -> ProviderResult<Vec<Diagnostic>>
Generate diagnostics for the given code
Source§fn config(&self) -> Option<&LanguageConfig>
fn config(&self) -> Option<&LanguageConfig>
Get the configuration for this provider
Auto Trait Implementations§
impl Freeze for PythonDiagnosticsAdapter
impl RefUnwindSafe for PythonDiagnosticsAdapter
impl Send for PythonDiagnosticsAdapter
impl Sync for PythonDiagnosticsAdapter
impl Unpin for PythonDiagnosticsAdapter
impl UnwindSafe for PythonDiagnosticsAdapter
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