Skip to main content

enum_named

Function enum_named 

Source
pub fn enum_named(name: &str) -> Option<&'static EnumDescriptor>
Expand description

Returns a dialect enumeration by name.

§Arguments

  • name - the enumeration’s name, such as "MAV_TYPE".

§Returns

The enumeration, or None if ENUMS holds none by that name.