Struct hid_io_core::module::displayserver::wayland::WaylandConnection [−][src]
Implementations
impl WaylandConnection
[src]
pub fn new() -> Result<WaylandConnection, DisplayOutputError>
[src]
Trait Implementations
impl DisplayOutput for WaylandConnection
[src]
fn get_layout(&self) -> Result<String, DisplayOutputError>
[src]
fn set_layout(&self, _layout: &str) -> Result<(), DisplayOutputError>
[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]
&mut self,
c: char,
press: bool
) -> Result<(), DisplayOutputError>
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,