pub struct Go;Trait Implementations§
Source§impl LanguagePlugin for Go
impl LanguagePlugin for Go
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 Go
impl Freeze for Go
impl Move for Go
impl RefUnwindSafe for Go
impl Send for Go
impl Sync for Go
impl Unpin for Go
impl UnsafeUnpin for Go
impl UnwindSafe for Go
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