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 RebuildableKpaList 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 RebuildableKpaStruct to copy and mutate.

Parameters

block

A lambda with KpaStructMutationScope as receiver.