Vector.opDispatch

Property assign for scalar value. This function supports both single and multiple property reference.

  1. auto ref opDispatch()
  2. const(Vector!(T, s.length)) opDispatch()
  3. T opDispatch(T value)
    struct Vector(T, uint S)
    T
    opDispatch
    (
    string s
    )
    ()
    if (
    s.all!(a => XYZW.canFind(a)) ||
    s.all!(a => RGBA.canFind(a))
    )
    if (
    __traits(isArithmetic, T)
    )
  4. const(Vector!(T, s.length)) opDispatch(Vector!(T, s.length) value)

Parameters

value T

assigned scalar value

Return Value

Type: T

assigned value

Meta