type :Vec { f32 :x, f32 :y, f32 :z, }; type :Color { i8 :r, i8 :g, i8 :b, }; type :Player { str :username, Vec :pos, Color :color, }; set :purple to immutable Color {255 255 0};