Yes. You can simply write
type MyInt = i32;
These are aliases at the name level, i.e. it is absolutely immaterial which name for the same type you then use. They are perfectly interchangeable.
Yes. You can simply write
type MyInt = i32;
These are aliases at the name level, i.e. it is absolutely immaterial which name for the same type you then use. They are perfectly interchangeable.