Vector.opAssign

Assign operation for scalar. The value fills each element of this vector.

  1. Vector opAssign(AnotherType value)
  2. Vector opAssign(AnotherType value)
    struct Vector(T, uint S)
    opAssign
    (
    AnotherType
    )
    (
    const AnotherType value
    )
    if (
    !isVector!(AnotherType) &&
    !isArray!(AnotherType)
    &&
    )
    if (
    __traits(isArithmetic, T)
    )

Parameters

value AnotherType

assigned value

Return Value

Type: Vector

this vector after assigned.

Meta