pub struct CargoAnalysisLoader {
pub path_prefix: Option<PathBuf>,
pub target: Target,
}
Fields§
§path_prefix: Option<PathBuf>
§target: Target
Implementations§
Source§impl CargoAnalysisLoader
impl CargoAnalysisLoader
pub fn new(target: Target) -> CargoAnalysisLoader
Trait Implementations§
Source§impl AnalysisLoader for CargoAnalysisLoader
impl AnalysisLoader for CargoAnalysisLoader
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>
Source§fn search_directories(&self) -> Vec<SearchDirectory>
fn search_directories(&self) -> Vec<SearchDirectory>
Returns every directory in which analysis files are to be considered.
Auto Trait Implementations§
impl Freeze for CargoAnalysisLoader
impl RefUnwindSafe for CargoAnalysisLoader
impl Send for CargoAnalysisLoader
impl Sync for CargoAnalysisLoader
impl Unpin for CargoAnalysisLoader
impl UnwindSafe for CargoAnalysisLoader
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