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) -> 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
source§impl<'de> Deserialize<'de> for ChangeKeyboardControlAux
impl<'de> Deserialize<'de> for ChangeKeyboardControlAux
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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 for ChangeKeyboardControlAux
impl PartialEq 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 for ChangeKeyboardControlAux
impl PartialOrd 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 moresource§impl Serialize for ChangeKeyboardControlAux
impl Serialize for ChangeKeyboardControlAux
impl Copy for ChangeKeyboardControlAux
impl Eq for ChangeKeyboardControlAux
impl StructuralPartialEq 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