Function rustc_typeck::middle::ty::is_type_representable
[−]
[src]
pub fn is_type_representable(cx: &ctxt<'tcx>, sp: Span, ty: &'tcx TyS<'tcx>) -> Representability
Unstable
Check whether a type is representable. This means it cannot contain unboxed structural recursion. This check is needed for structs and enums.