Struct rustc_trans::middle::ty::AssociatedConst [−] [src]

pub struct AssociatedConst<'tcx> {
    pub name: Name,
    pub ty: &'tcx TyS<'tcx>,
    pub vis: Visibility,
    pub def_id: DefId,
    pub container: ImplOrTraitItemContainer,
    pub default: Option<DefId>,
}
Unstable

Fields

name
Unstable
ty
Unstable
vis
Unstable
def_id
Unstable
container
Unstable
default
Unstable

Trait Implementations

impl<'tcx> Repr<'tcx> for AssociatedConst<'tcx>

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

Derived Implementations

impl<'tcx> Debug for AssociatedConst<'tcx>

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

impl<'tcx> Copy for AssociatedConst<'tcx>

impl<'tcx> Clone for AssociatedConst<'tcx>

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

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