Struct wayland_client::protocol::wl_keyboard::WlKeyboard
[−]
[src]
pub struct WlKeyboard { /* fields omitted */ }
Methods
impl WlKeyboard
[src]
fn release(&self) -> RequestResult<()>
[src]
release the keyboard object
This is a destructor, you cannot send requests to this object once this method is called.
This request is only available since version 3 of the interface
Trait Implementations
impl Send for WlKeyboard
[src]
impl Sync for WlKeyboard
[src]
impl Proxy for WlKeyboard
[src]
fn ptr(&self) -> *mut wl_proxy
[src]
Pointer to the underlying wayland proxy object
unsafe fn from_ptr_new(ptr: *mut wl_proxy) -> WlKeyboard
[src]
Create an instance from a wayland pointer Read more
unsafe fn from_ptr_initialized(ptr: *mut wl_proxy) -> WlKeyboard
[src]
Create an instance from a wayland pointer Read more
fn interface_ptr() -> *const wl_interface
[src]
Pointer to the interface representation
fn interface_name() -> &'static str
[src]
Internal wayland name of this interface
fn supported_version() -> u32
[src]
Max version of this interface supported
fn version(&self) -> u32
[src]
Current version of the interface this proxy is instantiated with
fn status(&self) -> Liveness
[src]
Check if the proxy behind this handle is actually still alive
fn equals(&self, other: &WlKeyboard) -> bool
[src]
Check of two handles are actually the same wayland object Read more
fn set_user_data(&self, ptr: *mut ())
[src]
Set a pointer associated as user data on this proxy Read more
fn get_user_data(&self) -> *mut ()
[src]
Get the pointer associated as user data on this proxy Read more
unsafe fn clone_unchecked(&self) -> WlKeyboard
[src]
Unsafely clone this proxy handle Read more
fn clone(&self) -> Option<Self> where
Self: Sized,
[src]
Self: Sized,
Clone this proxy handle Read more
impl<ID: 'static> Implementable<ID> for WlKeyboard
[src]
type Implementation = Implementation<ID>
The type containing the implementation for the event callbacks
unsafe fn __dispatch_msg(
&self,
opcode: u32,
args: *const wl_argument
) -> Result<(), ()>
[src]
&self,
opcode: u32,
args: *const wl_argument
) -> Result<(), ()>