vec_cell
Rust Vec with interior mutability which allows to take disjoint mutable references to its elements.
use VecCell;
// Create `VecCell`.
let vec_cell: = new;
// Push elements to `VecCell`.
vec_cell.push;
vec_cell.push;
vec_cell.push;
// Take immutable borrows to `VecCell` elements.
// Take disjoint mutable borrows to `VecCell` elements.
// Pop elements from `VecCell`.
assert_eq!;
assert_eq!;
assert_eq!;