Trait re_types::reflection::Enum
source · pub trait Enum: Sized + Copy + Clone + Hash + PartialEq + Eq + Display + 'static {
// Required methods
fn variants() -> &'static [Self];
fn docstring_md(self) -> &'static str;
}
Expand description
A trait for code-generated enums.
Required Methods§
sourcefn docstring_md(self) -> &'static str
fn docstring_md(self) -> &'static str
Markdown docstring for the given enum variant.
Object Safety§
This trait is not object safe.