Trait rls_analysis::AnalysisLoader
[−]
[src]
pub trait AnalysisLoader: Sized { fn needs_hard_reload(&self, path_prefix: &Path) -> bool; fn fresh_host(&self) -> AnalysisHost<Self>; fn set_path_prefix(&mut self, path_prefix: &Path); fn abs_path_prefix(&self) -> Option<PathBuf>; fn search_directories(&self) -> Vec<PathBuf>; }
Allows to specify from where and which analysis files will be considered when reloading data to lower.
Required Methods
fn needs_hard_reload(&self, path_prefix: &Path) -> bool
fn fresh_host(&self) -> AnalysisHost<Self>
fn set_path_prefix(&mut self, path_prefix: &Path)
fn abs_path_prefix(&self) -> Option<PathBuf>
fn search_directories(&self) -> Vec<PathBuf>
Returns every directory in which analysis files are to be considered.
Implementors
impl AnalysisLoader for CargoAnalysisLoader