Struct ChangeKeyboardControlAux
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§
§impl ChangeKeyboardControlAux
impl ChangeKeyboardControlAux
pub fn new() -> ChangeKeyboardControlAux
pub fn new() -> ChangeKeyboardControlAux
Create a new instance with all fields unset / not present.
pub 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.
pub 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.
pub 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.
pub 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.
pub fn led<I>(self, value: I) -> ChangeKeyboardControlAux
pub fn led<I>(self, value: I) -> ChangeKeyboardControlAux
Set the led
field of this structure.
pub 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.
pub fn key<I>(self, value: I) -> ChangeKeyboardControlAux
pub fn key<I>(self, value: I) -> ChangeKeyboardControlAux
Set the key
field of this structure.
pub 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§
§impl Clone for ChangeKeyboardControlAux
impl Clone for ChangeKeyboardControlAux
§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 more§impl Debug for ChangeKeyboardControlAux
impl Debug for ChangeKeyboardControlAux
§impl Default for ChangeKeyboardControlAux
impl Default for ChangeKeyboardControlAux
§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)