[][src]Struct smithay_client_toolkit::seat::SeatData

pub struct SeatData {
    pub name: String,
    pub has_pointer: bool,
    pub has_keyboard: bool,
    pub has_touch: bool,
    pub defunct: bool,
    // some fields omitted
}

The metadata associated with a seat

Fields

name: String

The name of this seat

It can be used as an identifier for the seat

has_pointer: bool

Whether this seat has a pointer available

has_keyboard: bool

Whether this seat has a keyboard available

has_touch: bool

Whether this seat has a touchscreen available

defunct: bool

Whether this seat has been removed from the registry

Once a seat is removed, you will no longer receive any event on any of its associated devices (pointer, keyboard or touch).

You can thus cleanup all your state associated with this seat.

Trait Implementations

impl Clone for SeatData[src]

impl Debug for SeatData[src]

Auto Trait Implementations

impl RefUnwindSafe for SeatData

impl Send for SeatData

impl Sync for SeatData

impl Unpin for SeatData

impl UnwindSafe for SeatData

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> 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.