Function rustc::middle::ty::struct_tailUnstable
[-] [+]
[src]
pub fn struct_tail<'tcx>(cx: &ctxt<'tcx>, ty: Ty<'tcx>) -> Ty<'tcx>
Returns the deeply last field of nested structures, or the same type, if not a structure at all. Corresponds to the only possible unsized field, and its type can be used to determine unsizing strategy.