Struct rustc_trait_selection::traits::fulfill::FulfillProcessor[][src]

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

Fields

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

Implementations

Trait Implementations

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 always inlined, despite its size, because it has a single callsite and it is called very frequently.

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

Performs the conversion.

Performs the conversion.

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: 16 bytes