Enum rustc::mir::visit::TyContext
[−]
[src]
pub enum TyContext { LocalDecl { local: Local, source_info: SourceInfo, }, ReturnTy(SourceInfo), Location(Location), }
🔬 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?
Extra information passed to visit_ty
and friends to give context
about where the type etc appears.
Variants
LocalDecl
🔬 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?
Fields of LocalDecl
local: Local | 🔬 This is a nightly-only experimental API. ( |
source_info: SourceInfo | 🔬 This is a nightly-only experimental API. ( |
ReturnTy(SourceInfo)
🔬 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?
The return type of the function.
Location(Location)
🔬 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?
A type found at some location.
Trait Implementations
impl Copy for TyContext
[src]
impl Clone for TyContext
[src]
fn clone(&self) -> TyContext
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for TyContext
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for TyContext
[src]
fn eq(&self, __arg_0: &TyContext) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TyContext) -> bool
[src]
This method tests for !=
.