Struct rustc_typeck::check::MaybeInProgressTables
source · [−]struct MaybeInProgressTables<'a, 'tcx> {
maybe_typeck_results: Option<&'a RefCell<TypeckResults<'tcx>>>,
}Expand description
A wrapper for InferCtxt’s in_progress_typeck_results field.
Fields
maybe_typeck_results: Option<&'a RefCell<TypeckResults<'tcx>>>Implementations
sourceimpl<'a, 'tcx> MaybeInProgressTables<'a, 'tcx>
impl<'a, 'tcx> MaybeInProgressTables<'a, 'tcx>
fn borrow(self) -> Ref<'a, TypeckResults<'tcx>>
fn borrow_mut(self) -> RefMut<'a, TypeckResults<'tcx>>
Trait Implementations
sourceimpl<'a, 'tcx> Clone for MaybeInProgressTables<'a, 'tcx>
impl<'a, 'tcx> Clone for MaybeInProgressTables<'a, 'tcx>
sourcefn clone(&self) -> MaybeInProgressTables<'a, 'tcx>
fn clone(&self) -> MaybeInProgressTables<'a, 'tcx>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl<'a, 'tcx> Copy for MaybeInProgressTables<'a, 'tcx>
Auto Trait Implementations
impl<'a, 'tcx> !RefUnwindSafe for MaybeInProgressTables<'a, 'tcx>
impl<'a, 'tcx> !Send for MaybeInProgressTables<'a, 'tcx>
impl<'a, 'tcx> !Sync for MaybeInProgressTables<'a, 'tcx>
impl<'a, 'tcx> Unpin for MaybeInProgressTables<'a, 'tcx> where
'tcx: 'a,
impl<'a, 'tcx> !UnwindSafe for MaybeInProgressTables<'a, '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: 8 bytes