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

Right, it seems `Any` and `downcast_ref::<>` were the missing parts for the downcasting. Upcasting is new in nightly with `#![feature(trait_upcasting)]`


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

Search: