Enum pty_proc::shell::device::state::DeviceState [] [src]

pub enum DeviceState {
    Idle,
    Sig(Sig),
    OutText(Outsize_t),
    InText(Control),
}

Variants

Update.

As catched a signal.

The output of new lines.

The current character.

Methods

impl DeviceState
[src]

[src]

The constructor method from_idle returns a Update's event.

[src]

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

[src]

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

[src]

The constructor method from_ig returns a Signal's event.

[src]

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

[src]

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

[src]

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

[src]

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

Trait Implementations

impl Copy for DeviceState
[src]

impl Clone for DeviceState
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DeviceState
[src]

[src]

Formats the value using the given formatter. Read more