Struct GrabMode
pub struct GrabMode(/* private fields */);
Expand description
§Fields
Sync
- The state of the keyboard appears to freeze: No further keyboard events are generated by the server until the grabbing client issues a releasingAllowEvents
request or until the keyboard grab is released.Async
- Keyboard event processing continues normally.
Implementations§
Trait Implementations§
§impl Ord for GrabMode
impl Ord for GrabMode
§impl PartialOrd for GrabMode
impl PartialOrd for GrabMode
impl Copy for GrabMode
impl Eq for GrabMode
impl StructuralPartialEq for GrabMode
Auto Trait Implementations§
impl Freeze for GrabMode
impl RefUnwindSafe for GrabMode
impl Send for GrabMode
impl Sync for GrabMode
impl Unpin for GrabMode
impl UnwindSafe for GrabMode
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)