pub trait DisplayExtManual: 'static {
    // Required methods
    fn translate_key(
        &self,
        keycode: u32,
        state: ModifierType,
        group: i32
    ) -> Option<(Key, i32, i32, ModifierType)>;
    fn get_setting(&self, name: &str) -> Option<Value>;
    fn map_keyval(&self, keyval: Key) -> Option<Vec<KeymapKey>>;
    fn map_keycode(&self, keycode: u32) -> Option<Vec<(KeymapKey, Key)>>;
    fn backend(&self) -> Backend;
}
Expand description

Trait containing manually implemented methods of Display.

Required Methods§

source

fn translate_key( &self, keycode: u32, state: ModifierType, group: i32 ) -> Option<(Key, i32, i32, ModifierType)>

source

fn get_setting(&self, name: &str) -> Option<Value>

source

fn map_keyval(&self, keyval: Key) -> Option<Vec<KeymapKey>>

source

fn map_keycode(&self, keycode: u32) -> Option<Vec<(KeymapKey, Key)>>

source

fn backend(&self) -> Backend

Get the currently used display backend

Implementors§