pub trait RegisterUserInput {
    // Required method
    fn register_user_input<'de, T>(&mut self) -> &mut Self
       where T: RegisterTypeTag<'de, dyn UserInput> + GetTypeRegistration;
}
Expand description

A trait for registering a specific UserInput.

Required Methods§

source

fn register_user_input<'de, T>(&mut self) -> &mut Self

Registers the specified UserInput.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl RegisterUserInput for App

source§

fn register_user_input<'de, T>(&mut self) -> &mut Self

Implementors§