Struct x11rb_protocol::protocol::xproto::GrabMode
source · 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 PartialEq for GrabMode
impl PartialEq for GrabMode
source§impl PartialOrd for GrabMode
impl PartialOrd for GrabMode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl 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