pub struct Seat(/* private fields */);Implementations§
Source§impl Seat
impl Seat
Sourcepub fn release(&self)
pub fn release(&self)
Notification that the client is no longer interested in this seat.
The EIS implementation will release any resources related to this seat and
send the ei_seat.destroyed event once complete.
Note that releasing a seat does not guarantee another seat becomes available. In other words, in most single-seat cases, releasing the seat means the connection becomes effectively inert.
Sourcepub fn bind(&self, capabilities: u64)
pub fn bind(&self, capabilities: u64)
Bind to the bitmask of capabilities given. The bitmask is zero or more of the
masks representing an interface as provided in the ei_seat.capability event.
See the ei_seat.capability event documentation for examples.
Binding masks that are not supported in the ei_device’s interface version
is a client bug and may result in disconnection.
A client may send this request multiple times to adjust the capabilities it
is interested in. If previously-bound capabilities are dropped by the client,
the EIS implementation may ei_device.remove devices that have these capabilities.