Type Alias StickyEvent

Source
pub type StickyEvent = Event;
Expand description

Type aliases for convenience.

Aliased Type§

pub enum StickyEvent {
    ActivateModifiers(KeyboardModifiers),
}

Variants§

§

ActivateModifiers(KeyboardModifiers)

Activates the given modifier(s) as “sticky”

Trait Implementations§

Source§

impl TryFrom<Event> for StickyEvent

Source§

type Error = EventError

The type returned in the event of a conversion error.
Source§

fn try_from(ev: Event) -> Result<Self, Self::Error>

Performs the conversion.