Struct x11rb_protocol::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<Keycode32>,
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<Keycode32>
§auto_repeat_mode: Option<AutoRepeatMode>
Implementations§
source§impl ChangeKeyboardControlAux
impl ChangeKeyboardControlAux
fn switch_expr(&self) -> u32
source§impl ChangeKeyboardControlAux
impl ChangeKeyboardControlAux
sourcepub fn key_click_percent<I>(self, value: I) -> Self
pub fn key_click_percent<I>(self, value: I) -> Self
Set the key_click_percent
field of this structure.
sourcepub fn bell_percent<I>(self, value: I) -> Self
pub fn bell_percent<I>(self, value: I) -> Self
Set the bell_percent
field of this structure.
sourcepub fn bell_pitch<I>(self, value: I) -> Self
pub fn bell_pitch<I>(self, value: I) -> Self
Set the bell_pitch
field of this structure.
sourcepub fn bell_duration<I>(self, value: I) -> Self
pub fn bell_duration<I>(self, value: I) -> Self
Set the bell_duration
field of this structure.
sourcepub fn auto_repeat_mode<I>(self, value: I) -> Self
pub fn auto_repeat_mode<I>(self, value: I) -> Self
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 Freeze for ChangeKeyboardControlAux
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