Struct breadx::auto::xproto::ChangeKeyboardControlRequest [−][src]
pub struct ChangeKeyboardControlRequest { pub req_type: u8, pub length: u16, pub value_mask: Kb, pub key_click_percent: i32, pub bell_percent: i32, pub bell_pitch: i32, pub bell_duration: i32, pub led: u32, pub led_mode: LedMode, pub key: Keycode32, pub auto_repeat_mode: AutoRepeatMode, }
Fields
req_type: u8
length: u16
value_mask: Kb
key_click_percent: i32
bell_percent: i32
bell_pitch: i32
bell_duration: i32
led: u32
led_mode: LedMode
key: Keycode32
auto_repeat_mode: AutoRepeatMode
Trait Implementations
Convert a sequence of bytes into this item.
Get the size needed to store this item in terms of bytes. Higher is better than lower here, since this is mostly used to allocate buffers for items. Read more
If this item has any file descriptors stored within, this function returns them.
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl Send for ChangeKeyboardControlRequest
impl Sync for ChangeKeyboardControlRequest
impl Unpin for ChangeKeyboardControlRequest
impl UnwindSafe for ChangeKeyboardControlRequest
Blanket Implementations
Mutably borrows from an owned value. Read more