think what I've learned this morning is that RefCell is for mutating inside short-lived borrows, whereas I'm attempting to extract long-lived references from something, intertwined with mutating it, which is never going to work
-
-
Well shit now I'm even more confusered. I will dig into this later. I need to focus on moving right now x.x
-
Oh I get it, cell allows interior mutability, do you can set behind a shared borrow. But it doesn't have runtime borrow rules, so you cannot access the inner value other than they Copy unless you can get a mutable ref to it.
- 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.