pub trait InnerAction:
Sized
+ Copy
+ Clone
+ PartialEq
+ Eq {
type Config;
// Required method
fn from_key(key: Key, config: &Self::Config) -> Option<Self>
where Self: Sized;
}Expand description
InnerActions are specialized prompt actions.
They must provide an implementation to optionally derive an action from a key event.
Required Associated Types§
Required Methods§
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.