Struct wayland_client::wayland::seat::WlKeyboard [] [src]

pub struct WlKeyboard {
    // some fields omitted
}

keyboard input device

The wl_keyboard interface represents one or more keyboards associated with a seat.

Methods

impl WlKeyboard
[src]

fn release(self)

release the keyboard object

Requires interface version >= 3.

Trait Implementations

impl Sync for WlKeyboard
[src]

impl Send for WlKeyboard
[src]

impl Proxy for WlKeyboard
[src]

fn ptr(&self) -> *mut wl_proxy

fn interface() -> *mut wl_interface

fn interface_name() -> &'static str

The internal name of this interface, as advertized by the registry if it is a global.

fn version() -> u32

The maximum version of this interface handled by the library.

fn id(&self) -> ProxyId

Get the id of this proxy

unsafe fn from_ptr(ptr: *mut wl_proxy) -> WlKeyboard

Creates a proxy from a fresh ptr

unsafe fn from_ptr_no_own(ptr: *mut wl_proxy) -> WlKeyboard

Creates a proxy from a ptr that is managed elsewhere Read more

fn set_evt_iterator(&mut self, evt: &EventIterator)

Set the event iterator associated to this proxy

impl Debug for WlKeyboard
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Drop for WlKeyboard
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more