#[repr(u32)]pub enum GrabMode {
Sync = 0,
Async = 1,
}
Variants§
Sync = 0
The state of the keyboard appears to freeze: No further keyboard events are
generated by the server until the grabbing client issues a releasing
AllowEvents
request or until the keyboard grab is released.
Async = 1
Keyboard event processing continues normally.
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
)