Enum zerogc_simple::layout::GcTypeLayout [−][src]
pub enum GcTypeLayout { Fixed(Layout), Array { element_layout: Layout, }, Vec { element_layout: Layout, }, }
Expand description
Layout information on a GcType
Variants
A type with a fixed, statically-known layout
Tuple Fields of Fixed
0: Layout
An array, whose size can vary at runtime
Fields of Array
element_layout: Layout
The fixed layout of elements in the array
The overall alignment of the array is equal to the alignment of each element, however the size may vary at runtime.
A vector, whose capacity can vary from instance to instance
Fields of Vec
element_layout: Layout
The fixed layout of elements in the vector.