Struct sdl2_sys::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
impl Copy 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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more