Struct rustc_typeck::check::InheritedBuilder
source · [−]pub struct InheritedBuilder<'tcx> {
infcx: InferCtxtBuilder<'tcx>,
def_id: LocalDefId,
}Expand description
A temporary returned by Inherited::build(...). This is necessary
for multiple InferCtxt to share the same in_progress_typeck_results
without using Rc or something similar.
Fields
infcx: InferCtxtBuilder<'tcx>def_id: LocalDefIdImplementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for T where
T: ?Sized,
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: 688 bytes