fn apply_motion(
    (x, y): (isize, isize),
    (direction, distance): (Direction, usize)
) -> Vec<(isize, isize)>
Expand description

Map a specification of a move of the head of the rope to the list of positions it follows