Vector.opOpAssign

Operator assign for vector, array, or scalar type. If the argument type is scalar, the value affects each element of this vector.

struct Vector(T, uint S)
opOpAssign
(
string op
AnotherType
)
(
AnotherType value
)
if (
__traits(isArithmetic, T)
)

Parameters

value AnotherType

assigned value

Return Value

Type: Vector

this vector after assigned.

Meta