Enum rustc_resolve::PathSource [−][src]
enum PathSource<'a> {
Type,
Trait(AliasPossibility),
Expr(Option<&'a Expr>),
Pat,
Struct,
TupleStruct,
TraitItem(Namespace),
Visibility,
ImportPrefix,
}🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Variants
Type🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Trait(AliasPossibility)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Expr(Option<&'a Expr>)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Pat🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Struct🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
TupleStruct🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
TraitItem(Namespace)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Visibility🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
ImportPrefix🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Methods
impl<'a> PathSource<'a>[src]
impl<'a> PathSource<'a>fn namespace(self) -> Namespace[src]
fn namespace(self) -> Namespace🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn global_by_default(self) -> bool[src]
fn global_by_default(self) -> bool🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn defer_to_typeck(self) -> bool[src]
fn defer_to_typeck(self) -> bool🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn descr_expected(self) -> &'static str[src]
fn descr_expected(self) -> &'static str🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn is_expected(self, def: Def) -> bool[src]
fn is_expected(self, def: Def) -> bool🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
fn error_code(self, has_unexpected_resolution: bool) -> &'static str[src]
fn error_code(self, has_unexpected_resolution: bool) -> &'static str🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Trait Implementations
impl<'a> Copy for PathSource<'a>[src]
impl<'a> Copy for PathSource<'a>impl<'a> Clone for PathSource<'a>[src]
impl<'a> Clone for PathSource<'a>fn clone(&self) -> PathSource<'a>[src]
fn clone(&self) -> PathSource<'a>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl<'a> PartialEq for PathSource<'a>[src]
impl<'a> PartialEq for PathSource<'a>fn eq(&self, other: &PathSource<'a>) -> bool[src]
fn eq(&self, other: &PathSource<'a>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &PathSource<'a>) -> bool[src]
fn ne(&self, other: &PathSource<'a>) -> boolThis method tests for !=.
impl<'a> Eq for PathSource<'a>[src]
impl<'a> Eq for PathSource<'a>fn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl<'a> Debug for PathSource<'a>[src]
impl<'a> Debug for PathSource<'a>Auto Trait Implementations
impl<'a> !Send for PathSource<'a>
impl<'a> !Send for PathSource<'a>impl<'a> !Sync for PathSource<'a>
impl<'a> !Sync for PathSource<'a>