pub fn peek_enum<'shape>(shape: &'shape Shape<'_>) -> Option<EnumType<'shape>>
Returns the enum definition if the shape represents an enum, None otherwise