peek_enum_repr

Function peek_enum_repr 

Source
pub fn peek_enum_repr(shape: &'static Shape) -> Option<EnumRepr>
Available on crate feature reflect only.
Expand description

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