struct FulfillProcessor<'a, 'b, 'tcx> {
    selcx: &'a mut SelectionContext<'b, 'tcx>,
}

Fields

selcx: &'a mut SelectionContext<'b, 'tcx>

Implementations

Trait Implementations

Identifies whether a predicate obligation needs processing.

This is always inlined, despite its size, because it has a single callsite and it is called very frequently.

Processes a predicate obligation and returns either:

  • Changed(v) if the predicate is true, presuming that v are also true
  • Unchanged if we don’t have enough info to be sure
  • Error(e) if the predicate does not hold

This is called much less often than needs_process_obligation, so we never inline it.

As we do the cycle check, we invoke this callback when we encounter an actual cycle. cycle is an iterator that starts at the start of the cycle in the stack and walks toward the top. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.

Layout

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size: 8 bytes