Struct rustc_typeck::metadata::filesearch::FileSearch [−] [src]

pub struct FileSearch<'a> {
    pub sysroot: &'a Path,
    pub search_paths: &'a SearchPaths,
    pub triple: &'a str,
    pub kind: PathKind,
}
Unstable

Fields

sysroot
Unstable
search_paths
Unstable
triple
Unstable
kind
Unstable

Methods

impl<'a> FileSearch<'a>

fn for_each_lib_search_path<F>(&self, f: F) where F: FnMut(&Path, PathKind) -> FileMatch

Unstable

fn get_lib_path(&self) -> PathBuf

Unstable

fn search<F>(&self, pick: F) where F: FnMut(&Path, PathKind) -> FileMatch

Unstable

fn new(sysroot: &'a Path, triple: &'a str, search_paths: &'a SearchPaths, kind: PathKind) -> FileSearch<'a>

Unstable

fn get_dylib_search_paths(&self) -> Vec<PathBuf>

Unstable

fn get_tools_search_paths(&self) -> Vec<PathBuf>

Unstable