[][src]Enum pc_keyboard::HandleControl

pub enum HandleControl {
    MapLettersToUnicode,
    Ignore,
}

Options for how we can handle what happens when the Ctrl key is held down and a letter is pressed.

Variants

MapLettersToUnicode

If either Ctrl key is held down, convert the letters A through Z into Unicode chars U+0001 through U+001A. If the Ctrl keys are not held down, letters go through normally.

Ignore

Don't do anything special - send through the Ctrl key up/down events, and leave the letters as letters.

Trait Implementations

impl Copy for HandleControl[src]

impl Debug for HandleControl[src]

impl PartialEq<HandleControl> for HandleControl[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Eq for HandleControl[src]

impl Clone for HandleControl[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]