Function rustc::middle::ty::is_type_representableExperimental
[-]
[+]
[src]
pub fn is_type_representable(cx: &ctxt, sp: Span, ty: t) -> Representability
Check whether a type is representable. This means it cannot contain unboxed structural recursion. This check is needed for structs and enums.