Struct hid_io_core::module::displayserver::x11::XConnection[][src]

pub struct XConnection { /* fields omitted */ }

Implementations

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(&mut self, keycode: u32, press: bool)[src]

Press/Release a specific keycode NOTE: This call does not update the pending delays and must be updated prior (unlike press_release_key())

pub fn press_release_key(&mut self, keycode: u32)[src]

Press then release a specific keycode Faster than individual calls to press_key as you don’t need a delay between press and release of the same keycode. This function will automatically add delays as necessary using previously calculated delays.

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 Default for XConnection[src]

impl DisplayOutput for XConnection[src]

impl Drop for XConnection[src]

Auto Trait Implementations

impl RefUnwindSafe for XConnection

impl !Send for XConnection

impl !Sync for XConnection

impl Unpin for XConnection

impl UnwindSafe for XConnection

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]