Struct rustc_trans::middle::ty::ClosureUpvarUnstable [-] [+] [src]

pub struct ClosureUpvar<'tcx> {
    pub def: Def,
    pub span: Span,
    pub ty: &'tcx TyS<'tcx>,
}

Fields

def
span
ty

Trait Implementations

impl<'tcx> HasProjectionTypes for ClosureUpvar<'tcx>

fn has_projection_types(&self) -> bool

impl<'tcx> Repr<'tcx> for ClosureUpvar<'tcx>

fn repr(&self, tcx: &ctxt<'tcx>) -> String

impl<'tcx> TypeFoldable<'tcx> for ClosureUpvar<'tcx>

fn fold_with<F>(&self, folder: &mut F) -> ClosureUpvar<'tcx> where F: TypeFolder<'tcx>

Derived Implementations

impl<'tcx> Clone for ClosureUpvar<'tcx>

fn clone(&self) -> ClosureUpvar<'tcx>

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

impl<'tcx> Copy for ClosureUpvar<'tcx>