Struct rustc_trans::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

impl tr for Freevar

fn tr(&self, dcx: &DecodeContext) -> Freevar

Derived Implementations

impl Decodable for Freevar

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

impl Encodable for Freevar

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

impl Copy for Freevar