Function peek_enum_repr

Source
pub fn peek_enum_repr(shape: &Shape<'_>) -> Option<EnumRepr>
Expand description

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