Struct rustc_infer::infer::generalize::CombineDelegate
source · pub struct CombineDelegate<'cx, 'tcx> {
pub infcx: &'cx InferCtxt<'tcx>,
pub param_env: ParamEnv<'tcx>,
pub span: Span,
}
Fields§
§infcx: &'cx InferCtxt<'tcx>
§param_env: ParamEnv<'tcx>
§span: Span
Trait Implementations§
source§impl<'tcx> GeneralizerDelegate<'tcx> for CombineDelegate<'_, 'tcx>
impl<'tcx> GeneralizerDelegate<'tcx> for CombineDelegate<'_, 'tcx>
fn param_env(&self) -> ParamEnv<'tcx>
fn forbid_inference_vars() -> bool
fn generalize_region(&mut self, universe: UniverseIndex) -> Region<'tcx>
Auto Trait Implementations§
impl<'cx, 'tcx> !RefUnwindSafe for CombineDelegate<'cx, 'tcx>
impl<'cx, 'tcx> !Send for CombineDelegate<'cx, 'tcx>
impl<'cx, 'tcx> !Sync for CombineDelegate<'cx, 'tcx>
impl<'cx, 'tcx> Unpin for CombineDelegate<'cx, 'tcx>
impl<'cx, 'tcx> !UnwindSafe for CombineDelegate<'cx, 'tcx>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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: 24 bytes