Enum neko::prelude::DeviceState []

pub enum DeviceState {
    Proc((i32, [u8; 32])),
    Idle,
    Sig(i32),
    OutText(Outusize),
    InText(Control),
}

Variants

The current task.

Update.

As catched a signal.

The output of new lines.

The current character.

Methods

impl DeviceState

The constructor method from_task returns a Process' event.

The constructor method from_idle returns a Update's event.

The constructor method from_out returns a text Output's event.

The constructor method from_out returns a key Input's event.

The constructor method from_ig returns a Signal's event.

The accessor method is_task returns a Process' event.

The accessor method is_idle returns a Option for Update's event.

The accessor method is_out_text returns a Option for Ouput's event.

The accessor method is_input returns a Option for key or mouse Input's event.

The accessor method is_signal returns a Option for Signal's event.

Trait Implementations

impl Copy for DeviceState

impl Debug for DeviceState

Formats the value using the given formatter.

impl Clone for DeviceState

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more