Struct x11rb::protocol::xproto::ChangeKeyboardControlAux
source · pub struct ChangeKeyboardControlAux {
pub key_click_percent: Option<i32>,
pub bell_percent: Option<i32>,
pub bell_pitch: Option<i32>,
pub bell_duration: Option<i32>,
pub led: Option<u32>,
pub led_mode: Option<LedMode>,
pub key: Option<u32>,
pub auto_repeat_mode: Option<AutoRepeatMode>,
}
Expand description
Auxiliary and optional information for the change_keyboard_control
function
Fields§
§key_click_percent: Option<i32>
§bell_percent: Option<i32>
§bell_pitch: Option<i32>
§bell_duration: Option<i32>
§led: Option<u32>
§led_mode: Option<LedMode>
§key: Option<u32>
§auto_repeat_mode: Option<AutoRepeatMode>
Implementations§
source§impl ChangeKeyboardControlAux
impl ChangeKeyboardControlAux
sourcepub fn new() -> ChangeKeyboardControlAux
pub fn new() -> ChangeKeyboardControlAux
Create a new instance with all fields unset / not present.
sourcepub fn key_click_percent<I>(self, value: I) -> ChangeKeyboardControlAux
pub fn key_click_percent<I>(self, value: I) -> ChangeKeyboardControlAux
Set the key_click_percent
field of this structure.
sourcepub fn bell_percent<I>(self, value: I) -> ChangeKeyboardControlAux
pub fn bell_percent<I>(self, value: I) -> ChangeKeyboardControlAux
Set the bell_percent
field of this structure.
sourcepub fn bell_pitch<I>(self, value: I) -> ChangeKeyboardControlAux
pub fn bell_pitch<I>(self, value: I) -> ChangeKeyboardControlAux
Set the bell_pitch
field of this structure.
sourcepub fn bell_duration<I>(self, value: I) -> ChangeKeyboardControlAux
pub fn bell_duration<I>(self, value: I) -> ChangeKeyboardControlAux
Set the bell_duration
field of this structure.
sourcepub fn led<I>(self, value: I) -> ChangeKeyboardControlAux
pub fn led<I>(self, value: I) -> ChangeKeyboardControlAux
Set the led
field of this structure.
sourcepub fn led_mode<I>(self, value: I) -> ChangeKeyboardControlAux
pub fn led_mode<I>(self, value: I) -> ChangeKeyboardControlAux
Set the led_mode
field of this structure.
sourcepub fn key<I>(self, value: I) -> ChangeKeyboardControlAux
pub fn key<I>(self, value: I) -> ChangeKeyboardControlAux
Set the key
field of this structure.
sourcepub fn auto_repeat_mode<I>(self, value: I) -> ChangeKeyboardControlAux
pub fn auto_repeat_mode<I>(self, value: I) -> ChangeKeyboardControlAux
Set the auto_repeat_mode
field of this structure.
Trait Implementations§
source§impl Clone for ChangeKeyboardControlAux
impl Clone for ChangeKeyboardControlAux
source§fn clone(&self) -> ChangeKeyboardControlAux
fn clone(&self) -> ChangeKeyboardControlAux
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ChangeKeyboardControlAux
impl Debug for ChangeKeyboardControlAux
source§impl Default for ChangeKeyboardControlAux
impl Default for ChangeKeyboardControlAux
source§fn default() -> ChangeKeyboardControlAux
fn default() -> ChangeKeyboardControlAux
Returns the “default value” for a type. Read more
impl Copy for ChangeKeyboardControlAux
Auto Trait Implementations§
impl RefUnwindSafe for ChangeKeyboardControlAux
impl Send for ChangeKeyboardControlAux
impl Sync for ChangeKeyboardControlAux
impl Unpin for ChangeKeyboardControlAux
impl UnwindSafe for ChangeKeyboardControlAux
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more