pub fn for_each<C>(mut iterate: C)
    where
        C: FnMut(Self),
    {
        iterate(Axis::X);
        iterate(Axis::Y);
    }
/// This iterator-like method simply executes the passed closure with
/// the `X` variant and then for the `Y` variant.
This iterator-like method simply executes the passed closure with
the `X` variant and then for the `Y` variant.
This iterator - like method simply executes the passed closure with the ` X ` variant and then for the ` Y ` variant .
pub fn for_each<C>(mut iterate: C)
    where
        C: FnMut(Self),
    {
        iterate(Axis::X);
        iterate(Axis::Y);
    }
pub fn for_each < C > ( mut iterate : C ) where C : FnMut ( Self ) , { iterate ( Axis :: X ) ; iterate ( Axis :: Y ) ; }
This iterator-like method simply executes the passed closure with
the `X` variant and then for the `Y` variant.
This iterator - like method simply executes the passed closure with the ` X ` variant and then for the ` Y ` variant .
iterate
C
iterate
C