[][src]Struct zwp_virtual_keyboard::virtual_keyboard_unstable_v1::zwp_virtual_keyboard_v1::ZwpVirtualKeyboardV1

pub struct ZwpVirtualKeyboardV1(_);

Implementations

impl ZwpVirtualKeyboardV1[src]

pub fn keymap(&self, format: u32, fd: RawFd, size: u32)[src]

keyboard mapping

Provide a file descriptor to the compositor which can be memory-mapped to provide a keyboard mapping description.

Format carries a value from the keymap_format enumeration.

pub fn key(&self, time: u32, key: u32, state: u32)[src]

key event

A key was pressed or released. The time argument is a timestamp with millisecond granularity, with an undefined base. All requests regarding a single object must share the same clock.

Keymap must be set before issuing this request.

State carries a value from the key_state enumeration.

pub fn modifiers(
    &self,
    mods_depressed: u32,
    mods_latched: u32,
    mods_locked: u32,
    group: u32
)
[src]

modifier and group state

Notifies the compositor that the modifier and/or group state has changed, and it should update state.

The client should use wl_keyboard.modifiers event to synchronize its internal state with seat state.

Keymap must be set before issuing this request.

pub fn destroy(&self)[src]

destroy the virtual keyboard keyboard object

This is a destructor, you cannot send requests to this object any longer once this method is called.

Trait Implementations

impl AsRef<Proxy<ZwpVirtualKeyboardV1>> for ZwpVirtualKeyboardV1[src]

impl Clone for ZwpVirtualKeyboardV1[src]

impl Debug for ZwpVirtualKeyboardV1[src]

impl Eq for ZwpVirtualKeyboardV1[src]

impl From<Proxy<ZwpVirtualKeyboardV1>> for ZwpVirtualKeyboardV1[src]

impl From<ZwpVirtualKeyboardV1> for Proxy<ZwpVirtualKeyboardV1>[src]

impl Interface for ZwpVirtualKeyboardV1[src]

type Request = Request

Set of requests associated to this interface Read more

type Event = Event

Set of events associated to this interface Read more

impl PartialEq<ZwpVirtualKeyboardV1> for ZwpVirtualKeyboardV1[src]

impl StructuralEq for ZwpVirtualKeyboardV1[src]

impl StructuralPartialEq for ZwpVirtualKeyboardV1[src]

Auto Trait Implementations

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> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.