Struct winit::platform_impl::platform::wayland::seat::keyboard::KeyboardInner
source · struct KeyboardInner {
target_window_id: Option<WindowId>,
pending_modifers_state: Option<ModifiersState>,
modifiers_state: Rc<RefCell<ModifiersState>>,
}
Fields§
§target_window_id: Option<WindowId>
Currently focused surface.
pending_modifers_state: Option<ModifiersState>
A pending state of modifiers.
This state is getting set if we’ve got a modifiers update
before Enter
event, which shouldn’t happen in general, however
some compositors are still doing so.
modifiers_state: Rc<RefCell<ModifiersState>>
Current state of modifiers keys.
Implementations§
source§impl KeyboardInner
impl KeyboardInner
fn new(modifiers_state: Rc<RefCell<ModifiersState>>) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for KeyboardInner
impl !Send for KeyboardInner
impl !Sync for KeyboardInner
impl Unpin for KeyboardInner
impl !UnwindSafe for KeyboardInner
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