Enum pty_proc::shell::device::control::operate::key::Key [] [src]

pub enum Key {
    Char(u64),
    Str(In),
}

Variants

Unicode characters.

Unicode strings.

Methods

impl Key
[src]

[src]

The constructor method from_utf8 returns a UTF-8 parsed Key.

[src]

[src]

The accessor method is_up returns an Option for the Up Key.

[src]

The accessor method is_down returns an Option for the down Key.

[src]

The accessor method is_right returns an Option for the right Key.

[src]

The accessor method is_left returns an Option for the left Key.

[src]

The accessor method is_delete returns an Option for the delete Key.

[src]

The accessor method is_backspace returns an Option for the backspace Key.

[src]

The accessor method is_escape returns an Option for the delete Key.

[src]

The accessor method is_end returns an Option for the delete Key.

[src]

The accessor method is_home returns an Option for the delete Key.

[src]

The accessor method is_pageup returns an Option for the Page Up Key.

[src]

The accessor method is_pagedown returns an Option for the Page Down Key.

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

The accessor method is_enter returns an Option for the Enter Key.

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Clone for Key
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Key
[src]

impl Debug for Key
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Key
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Key
[src]

impl From<u32> for Key
[src]

[src]

Performs the conversion.

impl From<(In, size_t)> for Key
[src]

[src]

The constructor method new returns a parsed Key.