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
sourcepub fn key_click_percent<I>(self, value: I) -> Selfwhere
I: Into<Option<i32>>,
pub fn key_click_percent<I>(self, value: I) -> Selfwhere I: Into<Option<i32>>,
Set the key_click_percent
field of this structure.
sourcepub fn bell_percent<I>(self, value: I) -> Selfwhere
I: Into<Option<i32>>,
pub fn bell_percent<I>(self, value: I) -> Selfwhere I: Into<Option<i32>>,
Set the bell_percent
field of this structure.
sourcepub fn bell_pitch<I>(self, value: I) -> Selfwhere
I: Into<Option<i32>>,
pub fn bell_pitch<I>(self, value: I) -> Selfwhere I: Into<Option<i32>>,
Set the bell_pitch
field of this structure.
sourcepub fn bell_duration<I>(self, value: I) -> Selfwhere
I: Into<Option<i32>>,
pub fn bell_duration<I>(self, value: I) -> Selfwhere I: Into<Option<i32>>,
Set the bell_duration
field of this structure.
sourcepub fn led<I>(self, value: I) -> Selfwhere
I: Into<Option<u32>>,
pub fn led<I>(self, value: I) -> Selfwhere I: Into<Option<u32>>,
Set the led
field of this structure.
sourcepub fn led_mode<I>(self, value: I) -> Selfwhere
I: Into<Option<LedMode>>,
pub fn led_mode<I>(self, value: I) -> Selfwhere I: Into<Option<LedMode>>,
Set the led_mode
field of this structure.
sourcepub fn key<I>(self, value: I) -> Selfwhere
I: Into<Option<Keycode32>>,
pub fn key<I>(self, value: I) -> Selfwhere I: Into<Option<Keycode32>>,
Set the key
field of this structure.
sourcepub fn auto_repeat_mode<I>(self, value: I) -> Selfwhere
I: Into<Option<AutoRepeatMode>>,
pub fn auto_repeat_mode<I>(self, value: I) -> Selfwhere I: Into<Option<AutoRepeatMode>>,
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
source§impl Hash for ChangeKeyboardControlAux
impl Hash for ChangeKeyboardControlAux
source§impl Ord for ChangeKeyboardControlAux
impl Ord for ChangeKeyboardControlAux
source§fn cmp(&self, other: &ChangeKeyboardControlAux) -> Ordering
fn cmp(&self, other: &ChangeKeyboardControlAux) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ChangeKeyboardControlAux> for ChangeKeyboardControlAux
impl PartialEq<ChangeKeyboardControlAux> for ChangeKeyboardControlAux
source§fn eq(&self, other: &ChangeKeyboardControlAux) -> bool
fn eq(&self, other: &ChangeKeyboardControlAux) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ChangeKeyboardControlAux> for ChangeKeyboardControlAux
impl PartialOrd<ChangeKeyboardControlAux> for ChangeKeyboardControlAux
source§fn partial_cmp(&self, other: &ChangeKeyboardControlAux) -> Option<Ordering>
fn partial_cmp(&self, other: &ChangeKeyboardControlAux) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ChangeKeyboardControlAux
impl Eq for ChangeKeyboardControlAux
impl StructuralEq for ChangeKeyboardControlAux
impl StructuralPartialEq 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