Enum wry::application::accelerator::RawMods [−][src]
#[non_exhaustive]
pub enum RawMods {
Show 16 variants
None,
Alt,
Ctrl,
Meta,
Shift,
AltCtrl,
AltMeta,
AltShift,
CtrlShift,
CtrlMeta,
MetaShift,
AltCtrlMeta,
AltCtrlShift,
AltMetaShift,
CtrlMetaShift,
AltCtrlMetaShift,
}
Expand description
Represents the active modifier keys.
This is intended to be clearer than ModifiersState
, when describing accelerators.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for RawMods
impl UnwindSafe for RawMods
Blanket Implementations
Mutably borrows from an owned value. Read more