advent_of_code_2024::day_6

Function route_iter

source
fn route_iter<'a>(
    guard: &'a Guard,
    lab: &'a Lab,
) -> impl Iterator<Item = Guard> + 'a
Expand description

Return the list of positions and facings a guard follows until they leave the lab