Struct hid_io_core::module::displayserver::wayland::WaylandConnection[][src]

pub struct WaylandConnection { /* fields omitted */ }

Implementations

impl WaylandConnection[src]

pub fn new() -> Result<WaylandConnection, DisplayOutputError>[src]

Trait Implementations

impl DisplayOutput for WaylandConnection[src]

fn type_string(&mut self, string: &str) -> Result<(), DisplayOutputError>[src]

Type the given UTF-8 string using the virtual keyboard Should behave nicely even if keys were previously held (those keys will continue to be held after sequence is complete, though there may be some issues with this case due to the layout switching)

fn press_symbol(
    &mut self,
    c: char,
    press: bool
) -> Result<(), DisplayOutputError>
[src]

Press/Release a given UTF-8 symbol NOTE: This function does not synchronize the event queue, should be done immediately after calling (unless you’re trying to optimize scheduling).

fn get_held(&mut self) -> Result<Vec<char>, DisplayOutputError>[src]

Retrieve currently held UTF-8 symbols

fn set_held(&mut self, string: &str) -> Result<(), DisplayOutputError>[src]

Set keys to hold If any UTF-8 chars are not included from the previous invocation they will be released

impl Drop for WaylandConnection[src]

Auto Trait Implementations

impl !RefUnwindSafe for WaylandConnection

impl !Send for WaylandConnection

impl !Sync for WaylandConnection

impl Unpin for WaylandConnection

impl !UnwindSafe for WaylandConnection

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]