view type
← Type reference
Typed non-owning logical coordinate space over buffer storage with optional address layout. Executed element accesses require natural physical scalar alignment unless align(...) explicitly reduces it. Forming or transporting a view implies no access or address promise.
| Property |
Value |
| Representation |
view |
| Semantic role |
ordinary |
| Target contracts |
— |
Parameters
| Name |
Kind |
Cardinality |
Description |
dims |
shape |
required |
— |
element_type |
scalar |
required |
— |
layout |
encoding |
optional |
— |
alignment |
alignment |
optional |
Positive power-of-two byte alignment no greater than the physical scalar's natural alignment. Omission requires natural alignment. The requirement applies only to executed element accesses. |