Struct wayland_client::core::seat::Seat [] [src]

pub struct Seat {
    // some fields omitted
}

A global wayland Seat.

This structure is a handle to a wayland seat, which can up to a pointer, a keyboard and a touch device.

Like other global objects, this handle can be cloned.

Methods

impl Seat

fn get_pointer(&self) -> Option<Pointer<WSurface>>

fn get_keyboard(&self) -> Option<Keyboard>

fn get_touch(&self) -> Option<Touch>

Trait Implementations

impl Bind<Registry> for Seat

fn interface() -> &'static wl_interface

unsafe fn wrap(ptr: *mut wl_seat, registry: Registry) -> Seat

impl FFI for Seat

type Ptr = wl_seat

fn ptr(&self) -> *const wl_seat

unsafe fn ptr_mut(&self) -> *mut wl_seat

Derived Implementations

impl Clone for Seat

fn clone(&self) -> Seat

fn clone_from(&mut self, source: &Self)