[−][src]Struct rustc_infer::infer::equate::Equate

pub struct Equate<'combine, 'infcx, 'tcx> {
    fields: &'combine mut CombineFields<'infcx, 'tcx>,
    a_is_expected: bool,
}

Ensures a is made equal to b. Returns a on success.

Fields

fields: &'combine mut CombineFields<'infcx, 'tcx>a_is_expected: bool

Implementations

impl<'combine, 'infcx, 'tcx> Equate<'combine, 'infcx, 'tcx>[src]

pub fn new(
    fields: &'combine mut CombineFields<'infcx, 'tcx>,
    a_is_expected: bool
) -> Equate<'combine, 'infcx, 'tcx>
[src]

Trait Implementations

impl<'tcx, '_, '_> ConstEquateRelation<'tcx> for Equate<'_, '_, 'tcx>[src]

impl<'tcx, 'combine, 'infcx> TypeRelation<'tcx> for Equate<'combine, 'infcx, 'tcx>[src]

Auto Trait Implementations

impl<'combine, 'infcx, 'tcx> !RefUnwindSafe for Equate<'combine, 'infcx, 'tcx>

impl<'combine, 'infcx, 'tcx> !Send for Equate<'combine, 'infcx, 'tcx>

impl<'combine, 'infcx, 'tcx> !Sync for Equate<'combine, 'infcx, 'tcx>

impl<'combine, 'infcx, 'tcx> Unpin for Equate<'combine, 'infcx, 'tcx> where
    'infcx: 'combine,
    'tcx: 'combine, 

impl<'combine, 'infcx, 'tcx> !UnwindSafe for Equate<'combine, 'infcx, 'tcx>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]