Struct x11_dl::xlib::XKeyboardState
source · #[repr(C)]pub struct XKeyboardState {
pub key_click_percent: c_int,
pub bell_percent: c_int,
pub bell_pitch: c_uint,
pub bell_duration: c_uint,
pub led_mask: c_ulong,
pub global_auto_repeat: c_int,
pub auto_repeats: [c_char; 32],
}
Fields§
§key_click_percent: c_int
§bell_percent: c_int
§bell_pitch: c_uint
§bell_duration: c_uint
§led_mask: c_ulong
§global_auto_repeat: c_int
§auto_repeats: [c_char; 32]
Trait Implementations§
source§impl Clone for XKeyboardState
impl Clone for XKeyboardState
source§fn clone(&self) -> XKeyboardState
fn clone(&self) -> XKeyboardState
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 XKeyboardState
impl Debug for XKeyboardState
source§impl PartialEq for XKeyboardState
impl PartialEq for XKeyboardState
source§fn eq(&self, other: &XKeyboardState) -> bool
fn eq(&self, other: &XKeyboardState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for XKeyboardState
impl StructuralPartialEq for XKeyboardState
Auto Trait Implementations§
impl Freeze for XKeyboardState
impl RefUnwindSafe for XKeyboardState
impl Send for XKeyboardState
impl Sync for XKeyboardState
impl Unpin for XKeyboardState
impl UnwindSafe for XKeyboardState
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