Struct rustc::middle::ty::FreevarUnstable [-]  [+] [src]

pub struct Freevar {
    pub def: Def,
    pub span: Span,
}

A free variable referred to in a function.

Fields

def

The variable being accessed free.

span

Trait Implementations

Derived Implementations

impl Decodable for Freevar

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Freevar, Error>

impl Encodable for Freevar

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), Error>

impl Copy for Freevar