Zig

Struct

Custom type.

💡 THINK OF IT LIKE…
▸ YOUR TURN

Write const Point = struct { x: i32, y: i32 };

struct.zig
+130 XP
Tab indent · Shift+Tab outdent · ⌘/Ctrl + Enter submit · auto-pairs ( [ { " '