[−][src]Struct rustc_session::search_paths::SearchPath

pub struct SearchPath {
    pub kind: PathKind,
    pub dir: PathBuf,
    pub files: Vec<SearchPathFile>,
}

Fields

kind: PathKinddir: PathBuffiles: Vec<SearchPathFile>

Implementations

impl SearchPath[src]

pub fn from_cli_opt(path: &str, output: ErrorOutputType) -> Self[src]

pub fn from_sysroot_and_triple(sysroot: &Path, triple: &str) -> Self[src]

pub(in search_paths) fn new(
    kind: PathKind,
    dir: PathBuf
) -> Self
[src]

Trait Implementations

impl Clone for SearchPath[src]

impl Debug for SearchPath[src]

Auto Trait Implementations

impl RefUnwindSafe for SearchPath

impl Send for SearchPath

impl Sync for SearchPath

impl Unpin for SearchPath

impl UnwindSafe for SearchPath

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.