Struct rustc::middle::ty::PolytypeExperimental [-]  [+] [src]

pub struct Polytype<'tcx> {
    pub generics: Generics<'tcx>,
    pub ty: Ty<'tcx>,
}

A polytype.

Fields

generics
ty

Trait Implementations

impl<'tcx> Repr<'tcx> for Polytype<'tcx>

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

Derived Implementations

impl<'tcx> Show for Polytype<'tcx>

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

impl<'tcx> Clone for Polytype<'tcx>

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

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