Struct rustc_save_analysis::ty::ClosureSizeProfileData [−][src]
pub struct ClosureSizeProfileData<'tcx> {
pub before_feature_tys: &'tcx TyS<'tcx>,
pub after_feature_tys: &'tcx TyS<'tcx>,
}Fields
before_feature_tys: &'tcx TyS<'tcx>Tuple containing the types of closure captures before the feature capture_disjoint_fields
after_feature_tys: &'tcx TyS<'tcx>Tuple containing the types of closure captures after the feature capture_disjoint_fields
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for ClosureSizeProfileData<'tcx>
impl<'tcx> !Send for ClosureSizeProfileData<'tcx>
impl<'tcx> !Sync for ClosureSizeProfileData<'tcx>
impl<'tcx> Unpin for ClosureSizeProfileData<'tcx>
impl<'tcx> !UnwindSafe for ClosureSizeProfileData<'tcx>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn subst_spanned(
self,
tcx: TyCtxt<'tcx>,
substs: &[GenericArg<'tcx>],
span: Option<Span>
) -> T
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: 16 bytes