Struct smithay_client_toolkit::seat::SeatListener
source · pub struct SeatListener {
_cb: Rc<RefCell<dyn FnMut(Attached<WlSeat>, &SeatData, DispatchData<'_>) + 'static>>,
}
Expand description
A handle to an seat listener callback
Dropping it disables the associated callback and frees the closure.
Fields§
§_cb: Rc<RefCell<dyn FnMut(Attached<WlSeat>, &SeatData, DispatchData<'_>) + 'static>>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SeatListener
impl !Send for SeatListener
impl !Sync for SeatListener
impl Unpin for SeatListener
impl !UnwindSafe for SeatListener
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