pub fn peek_enum_variants<'shape>( shape: &'shape Shape<'_>, ) -> Option<&'shape [Variant<'shape>]>
Returns the enum variants if the shape represents an enum, None otherwise