Struct rustc::hir::Freevar
[−]
[src]
pub struct Freevar { pub def: Def, pub span: Span, }
🔬 This is a nightly-only experimental API. (
rustc_private
)A free variable referred to in a function.
Fields
def: Def
🔬 This is a nightly-only experimental API. (
rustc_private
)The variable being accessed free.
span: Span
🔬 This is a nightly-only experimental API. (
rustc_private
)Trait Implementations
impl Copy for Freevar
[src]
impl Clone for Freevar
[src]
fn clone(&self) -> Freevar
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Encodable for Freevar
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
🔬 This is a nightly-only experimental API. (rustc_private
)
deprecated in favor of rustc-serialize on crates.io