[−][src]Struct rustc_mir::borrow_check::type_check::relate_tys::NllTypeRelatingDelegate
Fields
infcx: &'me InferCtxt<'me, 'tcx>borrowck_context: Option<&'me mut BorrowCheckContext<'bccx, 'tcx>>locations: LocationsWhere (and why) is this relation taking place?
category: ConstraintCategoryWhat category do we assign the resulting 'a: 'b relationships?
Implementations
impl<'me, 'bccx, 'tcx> NllTypeRelatingDelegate<'me, 'bccx, 'tcx>[src]
pub(in borrow_check::type_check::relate_tys) fn new(
infcx: &'me InferCtxt<'me, 'tcx>,
borrowck_context: Option<&'me mut BorrowCheckContext<'bccx, 'tcx>>,
locations: Locations,
category: ConstraintCategory
) -> Self[src]
infcx: &'me InferCtxt<'me, 'tcx>,
borrowck_context: Option<&'me mut BorrowCheckContext<'bccx, 'tcx>>,
locations: Locations,
category: ConstraintCategory
) -> Self
Trait Implementations
impl<'tcx, '_, '_> TypeRelatingDelegate<'tcx> for NllTypeRelatingDelegate<'_, '_, 'tcx>[src]
pub fn create_next_universe(&mut self) -> UniverseIndex[src]
pub fn next_existential_region_var(&mut self, from_forall: bool) -> Region<'tcx>[src]
pub fn next_placeholder_region(
&mut self,
placeholder: PlaceholderRegion
) -> Region<'tcx>[src]
&mut self,
placeholder: PlaceholderRegion
) -> Region<'tcx>
pub fn generalize_existential(
&mut self,
universe: UniverseIndex
) -> Region<'tcx>[src]
&mut self,
universe: UniverseIndex
) -> Region<'tcx>
pub fn push_outlives(&mut self, sup: Region<'tcx>, sub: Region<'tcx>)[src]
pub fn const_equate(&mut self, _a: &'tcx Const<'tcx>, _b: &'tcx Const<'tcx>)[src]
pub fn normalization() -> NormalizationStrategy[src]
pub fn forbid_inference_vars() -> bool[src]
Auto Trait Implementations
impl<'me, 'bccx, 'tcx> !RefUnwindSafe for NllTypeRelatingDelegate<'me, 'bccx, 'tcx>
impl<'me, 'bccx, 'tcx> !Send for NllTypeRelatingDelegate<'me, 'bccx, 'tcx>
impl<'me, 'bccx, 'tcx> !Sync for NllTypeRelatingDelegate<'me, 'bccx, 'tcx>
impl<'me, 'bccx, 'tcx> Unpin for NllTypeRelatingDelegate<'me, 'bccx, 'tcx> where
'bccx: 'me,
'tcx: 'me,
'bccx: 'me,
'tcx: 'me,
impl<'me, 'bccx, 'tcx> !UnwindSafe for NllTypeRelatingDelegate<'me, 'bccx, 'tcx>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.