Type Alias CapsWordEvent

Source
pub type CapsWordEvent = Event;
Expand description

Type aliases for convenience.

Aliased Type§

pub enum CapsWordEvent {
    EnableCapsWord,
    DisableCapsWord,
}

Variants§

§

EnableCapsWord

Enables Caps Word.

§

DisableCapsWord

Disables Caps Word.

Trait Implementations§

Source§

impl TryFrom<Event> for CapsWordEvent

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.