struct SeatInfo {
seat: WlSeat,
keyboard: Option<Keyboard>,
pointer: Option<Pointers>,
touch: Option<Touch>,
text_input: Option<TextInput>,
modifiers_state: Rc<RefCell<ModifiersState>>,
}
Expand description
Resources associtated with a given seat.
Fields§
§seat: WlSeat
Seat to which this SeatInfo
belongs.
keyboard: Option<Keyboard>
A keyboard handle with its repeat rate handling.
pointer: Option<Pointers>
All pointers we’re using on a seat.
touch: Option<Touch>
Touch handling.
text_input: Option<TextInput>
Text input handling aka IME.
modifiers_state: Rc<RefCell<ModifiersState>>
The current state of modifiers observed in keyboard handler.
We keep modifiers state on a seat, since it’s being used by pointer events as well.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SeatInfo
impl !Send for SeatInfo
impl !Sync for SeatInfo
impl Unpin for SeatInfo
impl !UnwindSafe for SeatInfo
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