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§
None
Alt
Ctrl
Meta
Shift
AltCtrl
AltMeta
AltShift
CtrlShift
CtrlMeta
MetaShift
AltCtrlMeta
AltCtrlShift
AltMetaShift
CtrlMetaShift
AltCtrlMetaShift
Trait Implementations§
source§impl PartialEq<Modifiers> for RawMods
impl PartialEq<Modifiers> for RawMods
source§impl PartialEq<RawMods> for Modifiers
impl PartialEq<RawMods> for Modifiers
source§impl PartialEq<RawMods> for RawMods
impl PartialEq<RawMods> for RawMods
impl Copy for RawMods
impl Eq for RawMods
impl StructuralEq for RawMods
impl StructuralPartialEq for RawMods
Auto Trait Implementations§
impl RefUnwindSafe for RawMods
impl Send for RawMods
impl Sync for RawMods
impl Unpin for RawMods
impl UnwindSafe for RawMods
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.