Trait relm::DisplayVariant [] [src]

pub trait DisplayVariant {
    fn display_variant(&self) -> &'static str;

Format trait for enum variants.

DisplayVariant is similar to Debug, but only works on enum and does not list the variants' parameters.

This is used internally by the library.

Required Methods

Formats the current variant of the enum.

Implementations on Foreign Types

impl DisplayVariant for ()