Struct x11rb_protocol::protocol::xproto::GrabMode
source · 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§
source§impl<'de> Deserialize<'de> for GrabMode
impl<'de> Deserialize<'de> for GrabMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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