Trait embedded_menu::interaction::InputAdapter
source · pub trait InputAdapter: Copy {
type Input;
type Value;
type State: Default + Copy;
// Required method
fn handle_input(
&self,
state: &mut Self::State,
action: Self::Input
) -> InputResult<Self::Value>;
}
Required Associated Types§
Required Methods§
fn handle_input( &self, state: &mut Self::State, action: Self::Input ) -> InputResult<Self::Value>
Object Safety§
This trait is not object safe.