When you rust guys ask questions like this, I’m not sure whether you’re looking for an answer or running a quiz.
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
we dont let you put derives on anything but structs & enums so I'm guessing there is not
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
hot take: you shouldn't need to. Deref should be more magical
- 2 more replies
New conversation -
-
-
If you wrote one I'd use it. Also for &'a T
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Why would you need this? T implements Trait and Box<T> dereferences to T?
-
A simple example: you can't pass a `Box<T>` to a `fn bar<T: Foo>(T)` even if `T impl Foo`.
- 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.