Trait cushy::ModifiersStateExt

source ·
pub trait ModifiersStateExt {
    const PRIMARY: Self;
}
Expand description

Helper constants for [ModifiersState]

Required Associated Constants§

source

const PRIMARY: Self

The modifier key used for shortcuts.

For Apple based platforms, this is [ModifiersState::SUPER]. This corresponds to the Apple/Command key.

For all other platforms, this is [ModifiersState::CONTROL].

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ModifiersStateExt for ModifiersState

source§

const PRIMARY: Self = Self::CONTROL

Implementors§