Trait EnumMeta

Source
pub trait EnumMeta {
    const VALUES: &'static [(&'static str, usize)];
}
Expand description

A trait for enums that describes some information.

Required Associated Constants§

Source

const VALUES: &'static [(&'static str, usize)]

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§