pub struct Rust;Trait Implementations§
Source§impl LanguagePlugin for Rust
impl LanguagePlugin for Rust
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_dialects(&self) -> Vec<String>
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 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 Rust
impl Freeze for Rust
impl Move for Rust
impl RefUnwindSafe for Rust
impl Send for Rust
impl Sync for Rust
impl Unpin for Rust
impl UnsafeUnpin for Rust
impl UnwindSafe for Rust
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