Struct x11::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
sourceimpl Clone for XKeyboardState
impl Clone for XKeyboardState
sourcefn clone(&self) -> XKeyboardState
fn clone(&self) -> XKeyboardState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for XKeyboardState
impl Debug for XKeyboardState
sourceimpl PartialEq<XKeyboardState> for XKeyboardState
impl PartialEq<XKeyboardState> for XKeyboardState
sourcefn 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 ==
. Read more
impl Copy for XKeyboardState
impl StructuralPartialEq for XKeyboardState
Auto Trait Implementations
impl RefUnwindSafe for XKeyboardState
impl Send for XKeyboardState
impl Sync for XKeyboardState
impl Unpin for XKeyboardState
impl UnwindSafe for XKeyboardState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more