[−][src]Struct zwp_virtual_keyboard::virtual_keyboard_unstable_v1::zwp_virtual_keyboard_v1::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]
&self,
mods_depressed: u32,
mods_latched: u32,
mods_locked: u32,
group: u32
)
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]
fn clone(&self) -> ZwpVirtualKeyboardV1
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn from(value: ZwpVirtualKeyboardV1) -> Self
[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
const NAME: &'static str
[src]
const VERSION: u32
[src]
fn c_interface() -> *const wl_interface
[src]
impl PartialEq<ZwpVirtualKeyboardV1> for ZwpVirtualKeyboardV1
[src]
fn eq(&self, other: &ZwpVirtualKeyboardV1) -> bool
[src]
fn ne(&self, other: &ZwpVirtualKeyboardV1) -> bool
[src]
impl StructuralEq for ZwpVirtualKeyboardV1
[src]
impl StructuralPartialEq for ZwpVirtualKeyboardV1
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ZwpVirtualKeyboardV1
impl Send for ZwpVirtualKeyboardV1
impl Sync for ZwpVirtualKeyboardV1
impl Unpin for ZwpVirtualKeyboardV1
impl !UnwindSafe for ZwpVirtualKeyboardV1
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut 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>,