rust types all in one .rs file