Trait rustc_typeck::middle::ty::UnboxedClosureTyperUnstable [-]  [+] [src]

pub trait UnboxedClosureTyper<'tcx> {
    fn param_env(&'a self) -> &'a ParameterEnvironment<'a, 'tcx>;
    fn unboxed_closure_kind(&self, def_id: DefId) -> UnboxedClosureKind;
    fn unboxed_closure_type(&self, def_id: DefId, substs: &Substs<'tcx>) -> ClosureTy<'tcx>;
    fn unboxed_closure_upvars(&self, def_id: DefId, substs: &Substs<'tcx>) -> Option<Vec<UnboxedClosureUpvar<'tcx>>>;
}

Required Methods

fn param_env(&'a self) -> &'a ParameterEnvironment<'a, 'tcx>

fn unboxed_closure_kind(&self, def_id: DefId) -> UnboxedClosureKind

fn unboxed_closure_type(&self, def_id: DefId, substs: &Substs<'tcx>) -> ClosureTy<'tcx>

fn unboxed_closure_upvars(&self, def_id: DefId, substs: &Substs<'tcx>) -> Option<Vec<UnboxedClosureUpvar<'tcx>>>

Implementors