Struct rls_analysis::CargoAnalysisLoader
[−]
[src]
pub struct CargoAnalysisLoader { pub path_prefix: Option<PathBuf>, pub target: Target, }
Fields
path_prefix: Option<PathBuf>
target: Target
Methods
impl CargoAnalysisLoader
[src]
fn new(target: Target) -> CargoAnalysisLoader
[src]
Trait Implementations
impl Debug for CargoAnalysisLoader
[src]
impl AnalysisLoader for CargoAnalysisLoader
[src]
fn needs_hard_reload(&self, path_prefix: &Path) -> bool
[src]
fn fresh_host(&self) -> AnalysisHost<Self>
[src]
fn set_path_prefix(&mut self, path_prefix: &Path)
[src]
fn abs_path_prefix(&self) -> Option<PathBuf>
[src]
fn search_directories(&self) -> Vec<PathBuf>
[src]
Returns every directory in which analysis files are to be considered.