Struct rustc_middle::ty::sty::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: Tclosure_sig_as_fn_ptr_ty: Ttupled_upvars_ty: TAuto Trait Implementations
impl<'tcx, T> !RefUnwindSafe for ClosureSubstsParts<T>
impl<'tcx, T> Send for ClosureSubstsParts<T> where
T: Send,
impl<'tcx, T> Sync for ClosureSubstsParts<T> where
T: Sync,
impl<'tcx, T> Unpin for ClosureSubstsParts<T> where
T: Unpin,
impl<'tcx, T> !UnwindSafe for ClosureSubstsParts<T>
Blanket Implementations
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.