Struct rustc_middle::ty::ClosureSubstsParts
source · pub struct ClosureSubstsParts<'tcx, T> {
pub parent_substs: &'tcx [GenericArg<'tcx>],
pub closure_kind_ty: T,
pub closure_sig_as_fn_ptr_ty: T,
pub tupled_upvars_ty: T,
}Expand description
Struct returned by split().
Fields§
§parent_substs: &'tcx [GenericArg<'tcx>]§closure_kind_ty: T§closure_sig_as_fn_ptr_ty: T§tupled_upvars_ty: TAuto Trait Implementations§
impl<'tcx, T> !RefUnwindSafe for ClosureSubstsParts<'tcx, T>
impl<'tcx, T> !Send for ClosureSubstsParts<'tcx, T>
impl<'tcx, T> !Sync for ClosureSubstsParts<'tcx, T>
impl<'tcx, T> Unpin for ClosureSubstsParts<'tcx, T>where T: Unpin,
impl<'tcx, T> !UnwindSafe for ClosureSubstsParts<'tcx, T>
Blanket Implementations§
source§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
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.