Halp rustaceans, I've googled all day and I can't find any way to implement Copy on a structure the compiler thinks isn't Copy but I know is, even with an unsafe keyword?
Not sure related but @heinz_gies came up with a vec/hashbrown hybrid ( halfbrown ) that may have related tricks ...
-
-
I think it’s a slightly different use case I use Vec there; I was looking at smallvec (would have been nice) but the whole sized thing got on the way so I just did what people usually do in rust :P give up
-
You were only a few refactoring nests away from success!
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.