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