Enum rustc_typeck::middle::infer::region_inference::ConstraintUnstable [-] [+] [src]

pub enum Constraint {
    ConstrainVarSubVar(RegionVid, RegionVid),
    ConstrainRegSubVar(Region, RegionVid),
    ConstrainVarSubReg(RegionVid, Region),
}

Variants

ConstrainVarSubVar
ConstrainRegSubVar
ConstrainVarSubReg

Trait Implementations

impl<'tcx> Repr<'tcx> for Constraint

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

Derived Implementations

impl Debug for Constraint

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

impl Hash for Constraint

fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Eq for Constraint

impl PartialEq<Constraint> for Constraint

fn eq(&self, __arg_0: &Constraint) -> bool

fn ne(&self, __arg_0: &Constraint) -> bool

impl Copy for Constraint

impl Clone for Constraint

fn clone(&self) -> Constraint

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