Function advent_of_code_2022::day_9::apply_motions
source · fn apply_motions(
origin: (isize, isize),
motions: &Vec<(Direction, usize)>
) -> Vec<(isize, isize)>
Expand description
map a list of motions specifications to the list of positions it follows