Function advent_of_code_2021::day_13::apply_fold[−][src]

fn apply_fold(
    dots: &HashSet<(usize, usize)>,
    fold: (Axis, usize)
) -> HashSet<(usize, usize)>
Expand description

Return a new set where the first has been folded along the given axis