TaggedUnion.value

Accesses the contained value by reference.

The specified type T must equal the type of the currently set value. Setting a different type must be done with set or opAssign instead.

  1. inout(FieldTypes[kind]) value [@property getter]
  2. inout(T) value [@property getter]
    struct TaggedUnion
    @property ref inout
    inout(T)
    value
    (
    T
    )
    ()

See Also

set, opAssign

Meta