Macro shape_select

Source
macro_rules! shape_select {
    ( $Select:ident { $( $Enum:ident ( $Param:ident = $Shape:ty ) ),+ $(,)? } ) => { ... };
}
Expand description

The macro for making a union of shapes.

You can read more about the technique here.