Contents

copyElements(from:)

Copies the elements from sequence into this view in row-major order.

Declaration

@export(implementation) mutating func copyElements(from sequence: some Sequence<Element>)

Parameters

  • sequence:

    The sequence to be copied from.

Discussion

The number of elements in sequence must be less than or equal to layout.scalarCount.

See Also

Writing data