There is a reference counting GC in rust. It's just not default and you have to be explicit about invoking it. It's similar to shared pointers in C++. See Arc.
For something like python the heap allocation or stack allocation is handled behind the scenes so the entire concept is abstracted away from you.
For something like python the heap allocation or stack allocation is handled behind the scenes so the entire concept is abstracted away from you.