Module tycho::collections[][src]

Wrappers around HashMap and Vec mapping to a respective type within tycho.

These functions come in handy when creating objects/elements manually or want a specific serialisation target when using serde.

Structs

Array

Maps to Vec<Value> where items are homogeneous

List

Maps to Vec<Element> where items are heterogeneous

Map

Maps to HashMap<Value, Element> where value is homogeneous

Struct

Maps to HashMap<String, Element>