Struct OwnedElementView

Read-only typed target view over an OwnedDataset.

struct OwnedElementView;

The view retains slices to the dataset arrays and a typed target index. It does not copy child arrays. Rebuild/recreate it after topology-changing dataset mutation according to OwnedDatasetIndex rules.

Properties

NameTypeDescription
index[get] ulong
node[get] const(OwnedNode)
relation[get] const(OwnedRelation)
type[get] ElementType
valid[get] bool
way[get] const(OwnedWay)