Trait NamedEnumeratedProperty

trait NamedEnumeratedProperty: ParseableEnumeratedProperty

A property whose value names can be represented as strings.

Provided Methods

fn try_from_str(s: &str) -> Option<Self>

Convenience method for PropertyParser::new().get_loose(s)

Enabled with the compiled_data Cargo feature.

fn long_name(self: &Self) -> &'static str

Convenience method for PropertyNamesLong::new().get(*self).unwrap()

Enabled with the compiled_data Cargo feature.

fn short_name(self: &Self) -> &'static str

Convenience method for PropertyNamesShort::new().get(*self).unwrap()

Enabled with the compiled_data Cargo feature.

Implementors