[][src]Trait rls_analysis::AnalysisLoader

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<SearchDirectory>; }

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<SearchDirectory>

Returns every directory in which analysis files are to be considered.

Loading content...

Implementors

impl AnalysisLoader for CargoAnalysisLoader[src]

Loading content...