List.set

Replaces the element at the specified position with the specified element.

interface List(T)
void
set
@nogc
(
size_t index
,
)

Parameters

index
Type: size_t

the position of the element to be replaced

elem
Type: T

the element that must be stored at the specified position

Meta