StateName

Trait StateName 

Source
pub trait StateName {
    // Required method
    fn name() -> &'static str;
}
Expand description

State name for display/debugging.

Required Methods§

Source

fn name() -> &'static str

Get the state name as a static string.

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§