Function chromiumoxide::keys::get_key_definition

source ·
pub fn get_key_definition(
    key: impl AsRef<str>
) -> Option<&'static KeyDefinition>
Expand description

Returns the KeyDefinition by key name

§Example return the Enter key: get_key_definition("Enter").unwrap()