func keyboardShortcut (KeyboardShortcut ) -> some View
Assigns a keyboard shortcut to the modified control.
func keyboardShortcut (KeyEquivalent , modifiers: EventModifiers ) -> some View
Defines a keyboard shortcut and assigns it to the modified control.
func keyboardShortcut (KeyEquivalent , modifiers: EventModifiers , localization: KeyboardShortcut .Localization) -> some View
Defines a keyboard shortcut and assigns it to the modified control.