Enum pty_proc::shell::device::control::operate::key::Key      
                   
                       [−]
                   
               [src]
pub enum Key {
    Char(u64),
    Str(In),
}Variants
Char(u64)Unicode characters.
Str(In)Unicode strings.
Methods
impl Key[src]
pub fn from_utf8(buf: [c_uchar; 4]) -> Self[src]
The constructor method from_utf8 returns a UTF-8 parsed Key.
pub fn is_utf8(&self) -> Option<char>[src]
pub fn is_up(&self) -> bool[src]
The accessor method is_up returns an Option for the Up Key.
pub fn is_down(&self) -> bool[src]
The accessor method is_down returns an Option for the down Key.
pub fn is_right(&self) -> bool[src]
The accessor method is_right returns an Option for the right Key.
pub fn is_left(&self) -> bool[src]
The accessor method is_left returns an Option for the left Key.
pub fn is_delete(&self) -> bool[src]
The accessor method is_delete returns an Option for the delete Key.
pub fn is_backspace(&self) -> bool[src]
The accessor method is_backspace returns an Option for the backspace Key.
pub fn is_escape(&self) -> bool[src]
The accessor method is_escape returns an Option for the delete Key.
pub fn is_end(&self) -> bool[src]
The accessor method is_end returns an Option for the delete Key.
pub fn is_home(&self) -> bool[src]
The accessor method is_home returns an Option for the delete Key.
pub fn is_pageup(&self) -> bool[src]
The accessor method is_pageup returns an Option for the Page Up Key.
pub fn is_pagedown(&self) -> bool[src]
The accessor method is_pagedown returns an Option for the Page Down Key.
pub fn is_c0(&self) -> bool[src]
pub fn is_null(&self) -> bool[src]
pub fn is_start_heading(&self) -> bool[src]
pub fn is_start_text(&self) -> bool[src]
pub fn is_end_text(&self) -> bool[src]
pub fn is_end_transmission(&self) -> bool[src]
pub fn is_enquiry(&self) -> bool[src]
pub fn is_acknowledge(&self) -> bool[src]
pub fn is_bell(&self) -> bool[src]
pub fn is_horizontal_tabulation(&self) -> bool[src]
pub fn is_enter(&self) -> bool[src]
The accessor method is_enter returns an Option for the Enter Key.
pub fn is_line_feed(&self) -> bool[src]
pub fn is_vertical_tabulation(&self) -> bool[src]
pub fn is_form_feed(&self) -> bool[src]
pub fn is_carriage_return(&self) -> bool[src]
pub fn is_shift_out(&self) -> bool[src]
pub fn is_shift_in(&self) -> bool[src]
pub fn is_data_link_escape(&self) -> bool[src]
pub fn is_device_control_one(&self) -> bool[src]
pub fn is_device_control_two(&self) -> bool[src]
pub fn is_device_control_three(&self) -> bool[src]
pub fn is_device_control_four(&self) -> bool[src]
pub fn is_negative_acknowledge(&self) -> bool[src]
pub fn is_synchronous_idle(&self) -> bool[src]
pub fn is_end_transmission_block(&self) -> bool[src]
pub fn is_cancel(&self) -> bool[src]
pub fn is_end_of_medium(&self) -> bool[src]
pub fn is_substitute(&self) -> bool[src]
pub fn is_file_separator(&self) -> bool[src]
pub fn is_group_separator(&self) -> bool[src]
pub fn is_record_separator(&self) -> bool[src]
pub fn is_unit_separator(&self) -> bool[src]
pub fn is_space(&self) -> bool[src]
pub fn is_c1(&self) -> bool[src]
pub fn as_input(&self) -> (In, size_t)[src]
Trait Implementations
impl Clone for Key[src]
fn clone(&self) -> Key[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for Key[src]
impl Debug for Key[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for Key[src]
fn eq(&self, __arg_0: &Key) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Key) -> bool[src]
This method tests for !=.