Struct sdl2_sys::XKeyboardControl
source · #[repr(C)]pub struct XKeyboardControl {
pub key_click_percent: c_int,
pub bell_percent: c_int,
pub bell_pitch: c_int,
pub bell_duration: c_int,
pub led: c_int,
pub led_mode: c_int,
pub key: c_int,
pub auto_repeat_mode: c_int,
}
Fields§
§key_click_percent: c_int
§bell_percent: c_int
§bell_pitch: c_int
§bell_duration: c_int
§led: c_int
§led_mode: c_int
§key: c_int
§auto_repeat_mode: c_int
Trait Implementations§
source§impl Clone for XKeyboardControl
impl Clone for XKeyboardControl
source§fn clone(&self) -> XKeyboardControl
fn clone(&self) -> XKeyboardControl
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 moreimpl Copy for XKeyboardControl
Auto Trait Implementations§
impl Freeze for XKeyboardControl
impl RefUnwindSafe for XKeyboardControl
impl Send for XKeyboardControl
impl Sync for XKeyboardControl
impl Unpin for XKeyboardControl
impl UnwindSafe for XKeyboardControl
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