Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Is there really a major use case for function traits?

Absolutely. They can be used for function overloading, and for manually creating closures from structs, which can be more ergonomic sometimes. Whether you want those features is another matter. The rust compiler supports them but doesn't expose them to stable rust.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: