So I have a Vec<Vec<T>> where the first vector groups by hours of day and the inner vector by days of week. I would like to transpose somehow the vectors to have it first by days then by hours. Is there a simple way to do it in Rust?
EDIT: I mean, I know how to do it with 2 for loops but is there a smarter/shorter way to do it functionally