Enum naga::proc::IndexableLength [−][src]
Expand description
The number of elements in an indexable type.
This summarizes the length of vectors, matrices, and arrays in a way that is convenient for indexing and bounds-checking code.
Variants
Known(u32)
Values of this type always have the given number of elements.
Tuple Fields of Known
0: u32
The value of the given specializable constant is the number of elements.
(Non-specializable constants are reported as Known
.)
The number of elements is determined at runtime.