Struct neko::prelude::ShellState []

pub struct ShellState { /* fields omitted */ }

Methods

impl ShellState

The constructor method new returns a empty ShellState.

The mutator method set_repeat change the time limit of repetition.

The mutator method set_interval change the interval.

The mutator method set_idle update the idle event status.

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

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

The mutator method set_task updates the task event.

The accessor method is_idle returns the Idle event.

The accessor method is_input_keydown returns the pressed Key event.

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

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

The accessor method is_input_mouse returns the pressed Mouse event.

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

The accessor method is_output_last returns the Output text event.

The accessor method is_output_screen returns the Output screen event.

The mutator method set_task updates the task event.

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

Trait Implementations

impl Copy for ShellState

impl Debug for ShellState

Formats the value using the given formatter.

impl Default for ShellState

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

impl Clone for ShellState

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more