pub fn keystroke_parts(keystroke: KeyStroke) -> Vec<String>Expand description
The labels of the keys in keystroke, modifiers first in the
platform’s order, the main key last: ["Ctrl", "Shift", "Z"], or
["⇧", "⌘", "Z"] on macOS.
For a surface that draws one key cap per key. Joining the parts the
platform’s way gives exactly format_keystroke.