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, __D>

impl Encodable for Freevar

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

impl Clone for Freevar

fn clone(&self) -> Freevar

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

impl Copy for Freevar