pub enum FeedbackCtlData {
    Keyboard {
        key: KeyCode,
        auto_repeat_mode: u8,
        key_click_percent: i8,
        bell_percent: i8,
        bell_pitch: i16,
        bell_duration: i16,
        led_mask: u32,
        led_values: u32,
    },
    Pointer {
        num: i16,
        denom: i16,
        threshold: i16,
    },
    String {
        keysyms: Vec<Keysym>,
    },
    Integer(i32),
    Led {
        led_mask: u32,
        led_values: u32,
    },
    Bell {
        percent: i8,
        pitch: i16,
        duration: i16,
    },
}

Variants

Keyboard

Fields

key: KeyCode
auto_repeat_mode: u8
key_click_percent: i8
bell_percent: i8
bell_pitch: i16
bell_duration: i16
led_mask: u32
led_values: u32

Pointer

Fields

num: i16
denom: i16
threshold: i16

String

Fields

keysyms: Vec<Keysym>

Integer(i32)

Led

Fields

led_mask: u32
led_values: u32

Bell

Fields

percent: i8
pitch: i16
duration: i16

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.