Skip to main content

is_aggregate

Function is_aggregate 

Source
pub fn is_aggregate(types: &Types, id: TypeId) -> bool
Expand description

An aggregate type, 6.2.5p21: an array or a struct.

A union is not one. That is not a quirk of wording: it is why a union is initialized from its first member and an aggregate is initialized member by member.