String.opIndexAssign

Slicing assignment.

  1. char opIndexAssign(char value, size_t pos)
  2. ByCodeUnit!char opIndexAssign(ByCodeUnit!R value)
  3. ByCodeUnit!char opIndexAssign(char value)
  4. ByCodeUnit!char opIndexAssign(char[] value)
    struct String
    @nogc nothrow pure @safe
    opIndexAssign
    (
    const char[] value
    )

Parameters

value char[]

Assigned character, range or string.

Return Value

Type: ByCodeUnit!char

Range over the string.

Precondition: length == value.length.

Meta