Skip to main content

InputVariant

Trait InputVariant 

Source
pub trait InputVariant:
    Sealed
    + Copy
    + Default {
    const NAME: &'static str;
}
Expand description

Trait for input variants.

Required Associated Constants§

Source

const NAME: &'static str

Human-readable name of this variant.

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§

Source§

impl InputVariant for DefaultInput

Source§

const NAME: &'static str = "default"

Source§

impl InputVariant for FilledInput

Source§

const NAME: &'static str = "filled"