pub struct GrabMode(u8);
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.
Tuple Fields§
§0: u8
Implementations§
Trait Implementations§
source§impl Ord for GrabMode
impl Ord for GrabMode
source§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
)