mutate

Creates a new KpaList by applying pointer-based mutations within block.

Return

A new KpaList of the same concrete type as the receiver.

Receiver

The KpaList to copy and mutate.

Parameters

block

A lambda with KpaListMutationScope as receiver.


Creates a new KpaStruct by applying pointer-based mutations within block.

Return

A new KpaStruct of the same concrete type as the receiver.

Receiver

The KpaStruct to copy and mutate.

Parameters

block

A lambda with KpaStructMutationScope as receiver.