Struct rustc_typeck::check::wfcheck::CheckWfFcxBuilder
source · [−]pub(super) struct CheckWfFcxBuilder<'tcx> {
inherited: InheritedBuilder<'tcx>,
id: HirId,
span: Span,
param_env: ParamEnv<'tcx>,
}Expand description
Helper type of a temporary returned by .for_item(...).
This is necessary because we can’t write the following bound:
ⓘ
F: for<'b, 'tcx> where 'tcx FnOnce(FnCtxt<'b, 'tcx>)Fields
inherited: InheritedBuilder<'tcx>id: HirIdspan: Spanparam_env: ParamEnv<'tcx>Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for CheckWfFcxBuilder<'tcx>
impl<'tcx> !Send for CheckWfFcxBuilder<'tcx>
impl<'tcx> !Sync for CheckWfFcxBuilder<'tcx>
impl<'tcx> Unpin for CheckWfFcxBuilder<'tcx>
impl<'tcx> !UnwindSafe for CheckWfFcxBuilder<'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: 712 bytes