Struct rustc::metadata::filesearch::FileSearchUnstable [-] [+] [src]

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

Fields

sysroot
search_paths
triple
kind

Methods

impl<'a> FileSearch<'a>

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

fn get_lib_path(&self) -> Path

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

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

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

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