Type Alias LayeredEvent

Source
pub type LayeredEvent = LayerEvent;
Expand description

Type aliases for convenience.

Aliased Type§

pub enum LayeredEvent {
    Activated(u32),
    Deactivated(u32),
    Toggled(u32),
    StickyActivated(u32),
    Set(u32),
    SetDefault(u32),
}

Variants§

§

Activated(u32)

Activates the given layer.

§

Deactivated(u32)

Deactivates the given layer.

§

Toggled(u32)

Toggles the given layer.

§

StickyActivated(u32)

Activates the given layer.

§

Set(u32)

Sets the active layers to the given set of layers.

§

SetDefault(u32)

Changes the default layer.

Trait Implementations§

Source§

impl TryFrom<Event> for LayeredEvent

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.