Struct gdk_x11_sys::xlib::XKeyboardState
[−]#[repr(C)]pub struct XKeyboardState {
pub key_click_percent: i32,
pub bell_percent: i32,
pub bell_pitch: u32,
pub bell_duration: u32,
pub led_mask: u64,
pub global_auto_repeat: i32,
pub auto_repeats: [i8; 32],
}
Fields
key_click_percent: i32
bell_percent: i32
bell_pitch: u32
bell_duration: u32
led_mask: u64
global_auto_repeat: i32
auto_repeats: [i8; 32]
Trait Implementations
impl Clone for XKeyboardState
impl Clone for XKeyboardState
fn 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
impl Debug for XKeyboardState
impl Debug for XKeyboardState
impl PartialEq<XKeyboardState> for XKeyboardState
impl PartialEq<XKeyboardState> for XKeyboardState
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 ==
. Read more
fn ne(&self, other: &XKeyboardState) -> bool
fn ne(&self, other: &XKeyboardState) -> bool
This method tests for !=
.
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more