Conditional typing of fields.
Suppose I have the following struct: (in pseudo Mojo)
For usecases where I know that it is definite that the field
You can do this easily in C++, impossible to do in Rust.
What about Mojo?
For usecases where I know that it is definite that the field
inner cannot hold values larger than N, then is it possible to type the fields conditionally?You can do this easily in C++, impossible to do in Rust.
What about Mojo?
