title: What's the best way to switch columns and rows in a 2d array in Rust?
body: <p>If I have for instance a <code>Vec&lt;Vec&lt;i32&gt;&gt;</code> and I want to get the first column, what's the best way to do it? I have a feeling there's an elegant map solution but I can't seem to figure it out.</p>