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: LocalDefIdImplementations
impl<'tcx> InheritedBuilder<'tcx>[src]
impl<'tcx> InheritedBuilder<'tcx>[src]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
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,