Struct rustc_middle::ty::GeneratorSubstsParts
source · pub struct GeneratorSubstsParts<'tcx, T> {
pub parent_substs: &'tcx [GenericArg<'tcx>],
pub resume_ty: T,
pub yield_ty: T,
pub return_ty: T,
pub witness: T,
pub tupled_upvars_ty: T,
}Fields§
§parent_substs: &'tcx [GenericArg<'tcx>]§resume_ty: T§yield_ty: T§return_ty: T§witness: T§tupled_upvars_ty: TAuto Trait Implementations§
impl<'tcx, T> !RefUnwindSafe for GeneratorSubstsParts<'tcx, T>
impl<'tcx, T> !Send for GeneratorSubstsParts<'tcx, T>
impl<'tcx, T> !Sync for GeneratorSubstsParts<'tcx, T>
impl<'tcx, T> Unpin for GeneratorSubstsParts<'tcx, T>where T: Unpin,
impl<'tcx, T> !UnwindSafe for GeneratorSubstsParts<'tcx, T>
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
source§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
source§impl<P> IntoQueryParam<P> for P
impl<P> IntoQueryParam<P> for P
fn into_query_param(self) -> P
source§impl<T> MaybeResult<T> for T
impl<T> MaybeResult<T> for T
source§impl<'tcx, T> ToPredicate<'tcx, T> for T
impl<'tcx, T> ToPredicate<'tcx, T> for T
fn to_predicate(self, _tcx: TyCtxt<'tcx>) -> T
source§impl<Tcx, T, D> Value<Tcx, D> for Twhere
Tcx: DepContext,
D: DepKind,
impl<Tcx, T, D> Value<Tcx, D> for Twhere Tcx: DepContext, D: DepKind,
default fn from_cycle_error(tcx: Tcx, _: &[QueryInfo<D>]) -> T
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.