Skip to content

view type

← Type reference

Typed non-owning logical coordinate space over storage with scalar or exact ref/ptr elements and optional address layout. Executed scalar accesses require natural physical alignment unless align(...) reduces it. Reference cells use target-selected storage and alignment. 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 type any 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.