Struct rustc::ty::FieldDefData [] [src]

pub struct FieldDefData<'tcx, 'container: 'tcx> {
    pub did: DefId,
    pub name: Name,
    pub vis: Visibility,
    // some fields omitted
}
Unstable (rustc_private)

Fields

did: DefId
Unstable (rustc_private)

The field's DefId. NOTE: the fields of tuple-like enum variants are not real items, and don't have entries in tcache etc.

name: Name
Unstable (rustc_private)
vis: Visibility
Unstable (rustc_private)

Methods

impl<'a, 'gcx, 'tcx, 'container> FieldDefData<'tcx, 'container>
[src]

fn new(did: DefId, name: Name, vis: Visibility) -> Self

fn ty(&self, tcx: TyCtxt<'a, 'gcx, 'tcx>, subst: &Substs<'tcx>) -> Ty<'tcx>

fn unsubst_ty(&self) -> Ty<'tcx>

fn fulfill_ty(&self, ty: Ty<'container>)