Enumerator#size support for structs

For #980