= match ($p) is { Point{x: 3, y: 9, %$z} => "x is 3, y is 9, z is $z", Point{%$z, %$x, y: 4} => "x is $x, y is 4, z is $z", Point{x: 5, %$y} => "x is 5, y is $y, and z doesn't matter", // This will always match. Point{%$x, %$y, %$z} => "x is $x, y is $y, z is $z", };