[−][src]Struct rustc_mir::borrow_check::type_check::ObligationAccumulator

pub(in borrow_check::type_check) struct ObligationAccumulator<'tcx> {
    obligations: PredicateObligations<'tcx>,
}

Fields

obligations: PredicateObligations<'tcx>

Implementations

impl<'tcx> ObligationAccumulator<'tcx>[src]

pub(in borrow_check::type_check) fn add<T>(
    &mut self,
    value: InferOk<'tcx, T>
) -> T
[src]

pub(in borrow_check::type_check) fn into_vec(
    self
) -> PredicateObligations<'tcx>
[src]

Trait Implementations

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

impl<'tcx> Default for ObligationAccumulator<'tcx>[src]

Auto Trait Implementations

impl<'tcx> !RefUnwindSafe for ObligationAccumulator<'tcx>

impl<'tcx> !Send for ObligationAccumulator<'tcx>

impl<'tcx> !Sync for ObligationAccumulator<'tcx>

impl<'tcx> Unpin for ObligationAccumulator<'tcx>

impl<'tcx> !UnwindSafe for ObligationAccumulator<'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<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]