pub struct MappedKeyboardImplementation<ID> {
pub enter: fn(evqh: &mut EventQueueHandle, idata: &mut ID, keyboard: &WlKeyboard, serial: u32, surface: &WlSurface, mods: ModifiersState, rawkeys: &[u32], keysyms: &[u32]),
pub leave: fn(evqh: &mut EventQueueHandle, idata: &mut ID, keyboard: &WlKeyboard, serial: u32, surface: &WlSurface),
pub key: fn(evqh: &mut EventQueueHandle, idata: &mut ID, keyboard: &WlKeyboard, serial: u32, time: u32, mods: ModifiersState, rawkey: u32, keysym: u32, state: KeyState, utf8: Option<String>),
pub repeat_info: fn(evqh: &mut EventQueueHandle, idata: &mut ID, keyboard: &WlKeyboard, rate: i32, delay: i32),
}
Fields§
§enter: fn(evqh: &mut EventQueueHandle, idata: &mut ID, keyboard: &WlKeyboard, serial: u32, surface: &WlSurface, mods: ModifiersState, rawkeys: &[u32], keysyms: &[u32])
§leave: fn(evqh: &mut EventQueueHandle, idata: &mut ID, keyboard: &WlKeyboard, serial: u32, surface: &WlSurface)
§key: fn(evqh: &mut EventQueueHandle, idata: &mut ID, keyboard: &WlKeyboard, serial: u32, time: u32, mods: ModifiersState, rawkey: u32, keysym: u32, state: KeyState, utf8: Option<String>)
§repeat_info: fn(evqh: &mut EventQueueHandle, idata: &mut ID, keyboard: &WlKeyboard, rate: i32, delay: i32)
Auto Trait Implementations§
impl<ID> Freeze for MappedKeyboardImplementation<ID>
impl<ID> RefUnwindSafe for MappedKeyboardImplementation<ID>
impl<ID> Send for MappedKeyboardImplementation<ID>
impl<ID> Sync for MappedKeyboardImplementation<ID>
impl<ID> Unpin for MappedKeyboardImplementation<ID>
impl<ID> UnwindSafe for MappedKeyboardImplementation<ID>
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