fn unload_chunk(&mut self, pos: ChunkPos) {
        self.chunks.remove(&pos);
        let column_pos = ChunkPosXZ::from(pos);
        let col = self.chunk_columns.get_mut(&column_pos).expect("No chunk column");
        col.loaded_chunks.remove(&pos);
        col.highest_opaque_blocks.remove(&pos.py);
        if col.loaded_chunks.len() == 0 {
            self.chunk_columns.remove(&column_pos);
        }
    }
/// Unload chunk
// TODO: persist to disk
Unload chunk
TODO: persist to disk
Unload chunk TODO : persist to disk
fn unload_chunk(&mut self, pos: ChunkPos) {
        self.chunks.remove(&pos);
        let column_pos = ChunkPosXZ::from(pos);
        let col = self.chunk_columns.get_mut(&column_pos).expect("No chunk column");
        col.loaded_chunks.remove(&pos);
        col.highest_opaque_blocks.remove(&pos.py);
        if col.loaded_chunks.len() == 0 {
            self.chunk_columns.remove(&column_pos);
        }
    }
fn unload_chunk ( & mut self , pos : ChunkPos ) { self . chunks . remove ( & pos ) ; let column_pos = ChunkPosXZ :: from ( pos ) ; let col = self . chunk_columns . get_mut ( & column_pos ) . expect ( " " ) ; col . loaded_chunks . remove ( & pos ) ; col . highest_opaque_blocks . remove ( & pos . py ) ; if col . loaded_chunks . len ( ) == 0 { self . chunk_columns . remove ( & column_pos ) ; } }
Unload chunk
TODO: persist to disk
Unload chunk TODO : persist to disk
&mut self
pos
ChunkPos
&mut self
pos
ChunkPos