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

pub struct TypeParameterDef<'tcx> {
    pub name: Name,
    pub def_id: DefId,
    pub space: ParamSpace,
    pub index: u32,
    pub default: Option<&'tcx TyS<'tcx>>,
    pub object_lifetime_default: Option<ObjectLifetimeDefault>,
}

Fields

name
def_id
space
index
default
object_lifetime_default

Trait Implementations

impl<'tcx> TypeFoldable<'tcx> for TypeParameterDef<'tcx>

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

impl<'tcx> Repr<'tcx> for TypeParameterDef<'tcx>

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

Derived Implementations

impl<'tcx> Debug for TypeParameterDef<'tcx>

fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>

impl<'tcx> Clone for TypeParameterDef<'tcx>

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

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