pub trait AsKeystroke {
// Required method
fn as_keystroke(&self) -> &Keystroke;
}Expand description
This is a helper trait so that we can simplify the implementation of some functions
Required Methods§
Sourcefn as_keystroke(&self) -> &Keystroke
fn as_keystroke(&self) -> &Keystroke
Returns the GPUI representation of the keystroke.