Enum rustc::infer::region_inference::Constraint [] [src]

pub enum Constraint<'tcx> {
    ConstrainVarSubVar(RegionVidRegionVid),
    ConstrainRegSubVar(&'tcx RegionRegionVid),
    ConstrainVarSubReg(RegionVid, &'tcx Region),
    ConstrainRegSubReg(&'tcx Region, &'tcx Region),
}
🔬 This is a nightly-only experimental API. (rustc_private)

Variants

🔬 This is a nightly-only experimental API. (rustc_private)
🔬 This is a nightly-only experimental API. (rustc_private)
🔬 This is a nightly-only experimental API. (rustc_private)
🔬 This is a nightly-only experimental API. (rustc_private)

Trait Implementations

impl<'tcx> Clone for Constraint<'tcx>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'tcx> Copy for Constraint<'tcx>
[src]

impl<'tcx> PartialEq for Constraint<'tcx>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'tcx> Eq for Constraint<'tcx>
[src]

impl<'tcx> Hash for Constraint<'tcx>
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl<'tcx> Debug for Constraint<'tcx>
[src]

Formats the value using the given formatter.