Most (repeatedly) frustrating thing with #rustlang: Box<type_that_implements_trait> is not equivalent to Box<trait>. Why?!!
-
-
-
Replying to @rustlang
Thanks! Is there somewhere I can find out the details?
4 replies 0 retweets 0 likes
Replying to @allenageorge
the summary is, Box<T> is a pointer to T. Box<Trait> is two pointers one to a vtable, and one to a T: Trait
8:39 AM - 2 Dec 2016
0 replies
0 retweets
0 likes
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.