AsKeystroke

Trait AsKeystroke 

Source
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§

Source

fn as_keystroke(&self) -> &Keystroke

Returns the GPUI representation of the keystroke.

Implementors§