Hacker News new | ask | show | jobs
by the_duke 1462 days ago
Yeah, for foreign types you will have to use the "newtype" pattern, aka: define your own wrapper struct.