Struct rustc_typeck::check::wfcheck::CheckWfFcxBuilder [−][src]
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
impl<'tcx> CheckWfFcxBuilder<'tcx>[src]
impl<'tcx> CheckWfFcxBuilder<'tcx>[src]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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,