Struct smithay_client_toolkit::seat::SeatData [−][src]
pub struct SeatData {
pub name: String,
pub has_pointer: bool,
pub has_keyboard: bool,
pub has_touch: bool,
pub defunct: bool,
// some fields omitted
}
Expand description
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
Auto Trait Implementations
impl RefUnwindSafe for SeatData
impl UnwindSafe for SeatData
Blanket Implementations
Mutably borrows from an owned value. Read more