Struct rustc_trans::trans::closure::ClosureEnvExperimental [-]  [+] [src]

pub struct ClosureEnv<'a, 'tcx> {
    pub kind: ClosureKind<'tcx>,
    // some fields omitted
}

Fields

kind

Methods

impl<'a, 'tcx> ClosureEnv<'a, 'tcx>

fn new(freevars: &'a [Freevar], kind: ClosureKind<'tcx>) -> ClosureEnv<'a, 'tcx>

fn load<'blk>(self, bcx: Block<'blk, 'tcx>, arg_scope: ScopeId) -> Block<'blk, 'tcx>