Struct rustc_session::search_paths::SearchPath
source · pub struct SearchPath {
pub kind: PathKind,
pub dir: PathBuf,
pub files: Vec<SearchPathFile>,
}
Fields§
§kind: PathKind
§dir: PathBuf
§files: Vec<SearchPathFile>
Implementations§
source§impl SearchPath
impl SearchPath
pub fn from_cli_opt(handler: &EarlyErrorHandler, path: &str) -> Self
pub fn from_sysroot_and_triple(sysroot: &Path, triple: &str) -> Self
fn new(kind: PathKind, dir: PathBuf) -> Self
Trait Implementations§
source§impl Clone for SearchPath
impl Clone for SearchPath
source§fn clone(&self) -> SearchPath
fn clone(&self) -> SearchPath
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for SearchPath
impl Send for SearchPath
impl Sync for SearchPath
impl Unpin for SearchPath
impl UnwindSafe for SearchPath
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes