Trait KeyboardDataExt

pub trait KeyboardDataExt: Send + Sync {
    type State: 'static;

    // Required methods
    fn keyboard_data(&self) -> &KeyboardData<Self::State>;
    fn keyboard_data_mut(&mut self) -> &mut KeyboardData<Self::State>;
}
Available on crate feature wayland and Linux only.

Required Associated Types§

type State: 'static

Required Methods§

fn keyboard_data(&self) -> &KeyboardData<Self::State>

fn keyboard_data_mut(&mut self) -> &mut KeyboardData<Self::State>

Implementors§

§

impl<T> KeyboardDataExt for KeyboardData<T>
where T: 'static,

§

type State = T