Struct rustc_typeck::check::inherited::InheritedBuilder [−][src]
pub struct InheritedBuilder<'tcx> {
infcx: InferCtxtBuilder<'tcx>,
def_id: LocalDefId,
}
Expand description
Helper type of a temporary returned by Inherited::build(...)
.
Necessary because we can’t write the following bound:
F: for<'b, 'tcx> where 'tcx FnOnce(Inherited<'b, 'tcx>)
.
Fields
infcx: InferCtxtBuilder<'tcx>
def_id: LocalDefId
Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for InheritedBuilder<'tcx>
impl<'tcx> !Send for InheritedBuilder<'tcx>
impl<'tcx> !Sync for InheritedBuilder<'tcx>
impl<'tcx> Unpin for InheritedBuilder<'tcx>
impl<'tcx> !UnwindSafe for InheritedBuilder<'tcx>
Blanket Implementations
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: 664 bytes