How do I get a double c pointer in rust? : How do I make the equivalent code in Rust?
I'm trying to learn Rust, then I started to porting C code to Rust, but I'm confused about how things work in Rust.

    typedef struct Room {
        int xPos;
        int yPos;
    } Room;
    
    void main (){
      
      Room **rooms;
      rooms = malloc(sizeof(Room)*8);
    
    }