copyElements(fromContentsOf:)
Copies the elements from collection into this view in row-major order.
Declaration
@export(implementation) mutating func copyElements(fromContentsOf collection: some Collection<Element>)Parameters
- collection:
The collection to be copied from.
Discussion
The number of elements in collection must be less than or equal to layout.scalarCount.