pub struct Python;Trait Implementations§
Source§impl LanguagePlugin for Python
impl LanguagePlugin for Python
fn extensions(&self) -> Vec<String>
fn lower( &self, path: &RepoPath, text: &str, _dialect: Option<&str>, ) -> Result<FileModel, LowerError>
fn flagged_line_rules(&self) -> Vec<String>
fn reference_ranges(&self) -> Result<ReferenceRanges, LanguagePluginError>
fn has_imports(&self) -> bool
fn manifest_paths( &self, repository_paths: &[RepoPath], ) -> Result<Vec<String>, LanguagePluginError>
fn analyze_manifests( &self, manifests: Vec<Manifest>, ) -> Result<ManifestAnalysis, LanguagePluginError>
fn resolve_imports( &self, repository_paths: &[RepoPath], manifests: Vec<Manifest>, requests: Vec<ImportRequest>, package_profiles: &[PackageFrameworkProfiles], ) -> Result<Vec<Resolution>, LanguagePluginError>
fn entry_points( &self, repository_paths: &[RepoPath], manifests: Vec<Manifest>, ) -> Result<Vec<RepoPath>, LanguagePluginError>
fn known_framework_profiles(&self) -> Vec<String>
fn resolve_framework_profiles( &self, package_root: &str, files: &[RepoPath], manifests: Vec<Manifest>, selection: FrameworkProfileSelection, ) -> Result<FrameworkProfileResult, LanguagePluginError>
fn known_dialects(&self) -> Vec<String>
fn has_hazard_rules(&self) -> bool
fn hazard_rules(&self) -> Vec<String>
fn has_scope_analysis(&self) -> bool
fn analyze_scope( &self, _package_root: &str, _dialect: Option<&str>, _artifacts: Vec<FileScopeArtifact>, ) -> Result<ScopeAnalysis, LanguagePluginError>
Auto Trait Implementations§
impl Forget for Python
impl Freeze for Python
impl Move for Python
impl RefUnwindSafe for Python
impl Send for Python
impl Sync for Python
impl Unpin for Python
impl UnsafeUnpin for Python
impl UnwindSafe for Python
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