[][src]Struct wayland_client::protocol::wl_seat::WlSeat

pub struct WlSeat(_);

Methods

impl WlSeat[src]

pub fn get_pointer(&self) -> Main<WlPointer>[src]

return pointer object

The ID provided will be initialized to the wl_pointer interface for this seat.

This request only takes effect if the seat has the pointer capability, or has had the pointer capability in the past. It is a protocol violation to issue this request on a seat that has never had the pointer capability.

pub fn get_keyboard(&self) -> Main<WlKeyboard>[src]

return keyboard object

The ID provided will be initialized to the wl_keyboard interface for this seat.

This request only takes effect if the seat has the keyboard capability, or has had the keyboard capability in the past. It is a protocol violation to issue this request on a seat that has never had the keyboard capability.

pub fn get_touch(&self) -> Main<WlTouch>[src]

return touch object

The ID provided will be initialized to the wl_touch interface for this seat.

This request only takes effect if the seat has the touch capability, or has had the touch capability in the past. It is a protocol violation to issue this request on a seat that has never had the touch capability.

pub fn release(&self)[src]

release the seat object

Using this request a client can tell the server that it is not going to use the seat object anymore.

This is a destructor, you cannot send requests to this object any longer once this method is called. Only available since version 5 of the interface.

Trait Implementations

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

impl Clone for WlSeat[src]

impl Eq for WlSeat[src]

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

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

impl Interface for WlSeat[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<WlSeat> for WlSeat[src]

impl StructuralEq for WlSeat[src]

impl StructuralPartialEq for WlSeat[src]

Auto Trait Implementations

impl !RefUnwindSafe for WlSeat

impl Send for WlSeat

impl Sync for WlSeat

impl Unpin for WlSeat

impl !UnwindSafe for WlSeat

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
[src]

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

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.