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.
Trait Implementations§
impl Eq for Seat
impl StructuralPartialEq for Seat
Auto Trait Implementations§
impl Freeze for Seat
impl RefUnwindSafe for Seat
impl Send for Seat
impl Sync for Seat
impl Unpin for Seat
impl UnwindSafe for Seat
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)