❔ Is it possible to define a struct inline ?
instead of doing this
i want something like this :
3 Replies
No
You can try using a record struct to shorten the declaration of it, though, get a constructor for free and all that
^ record struct or use something like ValueTuple
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.