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>(__arg_0: &mut __D) -> Result<Freevar, __D::Error> where __D: Decoder

impl Encodable for Freevar

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

impl Clone for Freevar

fn clone(&self) -> Freevar

fn clone_from(&mut self, source: &Self)

impl Copy for Freevar