[][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 Clone for HandleControl[src]

impl Copy for HandleControl[src]

impl Debug for HandleControl[src]

impl Eq for HandleControl[src]

impl PartialEq<HandleControl> for HandleControl[src]

impl StructuralEq for HandleControl[src]

impl StructuralPartialEq for HandleControl[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.