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(&self, path_prefix: &Path); fn abs_path_prefix(&self) -> Option<PathBuf>; fn iter_paths<F, T>(&self, f: F) -> Vec<T>
where
F: Fn(&Path) -> Vec<T>; }
Required Methods
fn needs_hard_reload(&self, path_prefix: &Path) -> bool
fn fresh_host(&self) -> AnalysisHost<Self>
fn set_path_prefix(&self, path_prefix: &Path)
fn abs_path_prefix(&self) -> Option<PathBuf>
fn iter_paths<F, T>(&self, f: F) -> Vec<T> where
F: Fn(&Path) -> Vec<T>,
F: Fn(&Path) -> Vec<T>,
Implementors
impl AnalysisLoader for CargoAnalysisLoader