Struct smithay_client_toolkit::seat::SeatHandler
source · pub struct SeatHandler { /* private fields */ }Expand description
A simple handler for seats
This handler will manage seats and track their capabilities.
You can register callbacks using the SeatHandling::listen
to be notified whenever a seat is created, destroyed, or its capabilities change.
Implementations§
source§impl SeatHandler
impl SeatHandler
sourcepub fn new() -> SeatHandler
pub fn new() -> SeatHandler
Create a new SeatHandler
Trait Implementations§
source§impl Debug for SeatHandler
impl Debug for SeatHandler
source§impl MultiGlobalHandler<WlSeat> for SeatHandler
impl MultiGlobalHandler<WlSeat> for SeatHandler
source§impl SeatHandling for SeatHandler
impl SeatHandling for SeatHandler
Auto Trait Implementations§
impl !RefUnwindSafe for SeatHandler
impl !Send for SeatHandler
impl !Sync for SeatHandler
impl Unpin for SeatHandler
impl !UnwindSafe for SeatHandler
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
Mutably borrows from an owned value. Read more