Is RefCell allocated in the heap?


And how could I figure out this myself ?

Sincerly yours,
Demeter, fighting the borrow checker.


No. The only things that allocate are in and . The types in those crates are re-exported in std in their well-known locations.

#3 has some of this info on the builtin types as well.