tap_key

Function tap_key 

Source
pub fn tap_key(
    key: impl Into<Key>,
    text: Option<SmolStr>,
) -> impl Iterator<Item = Event>
Expand description

Returns the sequence of events of a “key tap” (i.e. pressing and releasing a key).