4 ms·
That depends on what Self contains. Using the Cell types and some of the other inner mutating types, it is possible to change the interior state of self even be
by bluejekyll 5y ago
That depends on what Self contains. Using the Cell types and some of the other inner mutating types, it is possible to change the interior state of self even behind a shared reference.
Additionally, with unsafe it’s also possible. This is in response to “the only possible” statement.
Of course, doing so is not advisable.