Assign

stdtraits~ Assign

Source:

Trait to as­sign a value in a con­tainer like type.

Im­ple­men­ted for Ob­ject, String, Ar­ray, Map.

In­ter­face

(c: Con­tainer, v: Value, k: Key) => void.

Laws

  • Must not be im­ple­men­ted for set-like data struc­tures

Spe­cial­iz­a­tion Notes

No im­ple­ment­a­tion provided for String since String is read only.