On Monday, 7 October 2024 at 08:05:59 UTC, ryuukk_ wrote:
I'm working on it TODAY, therefore i need a today's solution

```d
import std.typecons;

struct EntityDef
{
    Tuple!(int, "hp") stats;
}

void main()
{
    EntityDef ed;
    int x = ed.stats.hp;
}
```

Reply via email to