Closed Dirbaio closed 7 months ago
Maybe we can not implement InputPin on Reverse
, and and add a second set of mpls on Reverse<RefCell > which does impl InputPin??
Hmm, this seems like the only way. At least I can't think of another. The trait has changed in a fundamentally breaking way, so we can only resort to interior mutability now.
Would be nice to get this :)
Seconding! 😊 I'm trying to use a 0.2.x driver that's not likely to get 1.0 compat soon, and I would extremely love to not have to add that support right now. :D
closing in favor of #34
I'm not sure how to handle
Reverse
forInputPin
: the 0.2 traits only give us&self
, but the 1.0 traits require&mut self
.Maybe we can not implement
InputPin
onReverse<T>
, and and add a second set of mpls onReverse<RefCell<T>>
which does implInputPin
??