[−][src]Struct hid_io::module::unicode::x11::XConnection
Methods
impl XConnection
[src]
pub fn new() -> XConnection
[src]
pub fn find_keycode(&self, keysym: u64) -> (bool, Option<u32>)
[src]
pub fn lookup_sym(symbol: char) -> u64
[src]
pub fn bind_key(&self, keycode: u32, keysym: u64)
[src]
pub fn unbind_key(&self, keycode: u32)
[src]
pub fn press_key(&self, keycode: u32, state: bool, time: Time)
[src]
pub fn map_sym(&mut self, c: char) -> Option<u32>
[src]
pub fn unmap_sym(&mut self, c: char)
[src]
pub fn get_sym(&mut self, c: char) -> Option<u32>
[src]
Trait Implementations
impl UnicodeOutput for XConnection
[src]
fn get_layout(&self) -> String
[src]
fn set_layout(&self, layout: &str)
[src]
fn type_string(&mut self, string: &str)
[src]
fn press_symbol(&mut self, c: char, press: bool)
[src]
fn get_held(&mut self) -> Vec<char>
[src]
fn set_held(&mut self, string: &str)
[src]
impl Drop for XConnection
[src]
impl Default for XConnection
[src]
Auto Trait Implementations
impl !Send for XConnection
impl !Sync for XConnection
impl Unpin for XConnection
impl UnwindSafe for XConnection
impl RefUnwindSafe for XConnection
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,