Struct pty_proc::shell::state::ShellState [] [src]

pub struct ShellState { /* fields omitted */ }

Methods

impl ShellState
[src]

[src]

The constructor method new returns a empty ShellState.

[src]

[src]

The mutator method set_repeat change the time limit of repetition.

[src]

The mutator method set_interval change the interval.

[src]

The mutator method set_idle update the idle event status.

[src]

The mutator method set_input update the in_text and save the old in_text to in_text_past.

[src]

The mutator method set_output update the both out_text and out_screen variable.

[src]

The accessor method is_idle returns the Idle event.

[src]

The accessor method is_input_keydown returns the pressed Key event.

[src]

The accessor method is_input_keyrepeat returns the number's repetition of the Key.

[src]

The accessor method is_input_keyinterval returns the number's of repetition between a range of the interval.

[src]

The accessor method is_input_mouse returns the pressed Mouse event.

[src]

The accessor method is_in_slice returns the bytes for a Input event.

[src]

The accessor method is_output_last returns the Output text event.

[src]

The accessor method is_output_screen returns the Output screen event.

[src]

[src]

The method with_device updates the state from the event DeviceState interface.

Trait Implementations

impl Default for ShellState
[src]

[src]

Returns the "default value" for a type. Read more

impl Copy for ShellState
[src]

impl Clone for ShellState
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ShellState
[src]

[src]

Formats the value using the given formatter. Read more