Skip to main content

peek_enum

Function peek_enum 

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

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