Function peek_enum

Source
pub fn peek_enum(shape: &'static Shape) -> Option<EnumDef>
Expand description

Returns the enum definition if the shape represents an enum, None otherwise