Enum druid_shell::RawMods [−][src]
pub enum RawMods {
Show 16 variants
None,
Alt,
Ctrl,
Meta,
Shift,
AltCtrl,
AltMeta,
AltShift,
CtrlShift,
CtrlMeta,
MetaShift,
AltCtrlMeta,
AltCtrlShift,
AltMetaShift,
CtrlMetaShift,
AltCtrlMetaShift,
}
Expand description
A representation of the active modifier keys.
This is intended to be clearer than Modifiers
, when describing hotkeys.
Variants
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RawMods
impl UnwindSafe for RawMods
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn round_from(x: T) -> T
pub fn round_from(x: T) -> T
Performs the conversion.
pub fn round_into(self) -> U
pub fn round_into(self) -> U
Performs the conversion.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more