Struct x11rb_async::protocol::xproto::AllowEventsRequest
source · pub struct AllowEventsRequest {
pub mode: Allow,
pub time: u32,
}Expand description
release queued events.
Releases queued events if the client has caused a device (pointer/keyboard) to
freeze due to grabbing it actively. This request has no effect if time is
earlier than the last-grab time of the most recent active grab for this client
or if time is later than the current X server time.
Fields
mode-time- Timestamp to avoid race conditions when running X over the network.
The special value XCB_CURRENT_TIME will be replaced with the current server
time.
Errors
Value- You specified an invalidmode.
Fields§
§mode: Allow§time: u32Implementations§
Trait Implementations§
source§impl Clone for AllowEventsRequest
impl Clone for AllowEventsRequest
source§fn clone(&self) -> AllowEventsRequest
fn clone(&self) -> AllowEventsRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AllowEventsRequest
impl Debug for AllowEventsRequest
source§impl Default for AllowEventsRequest
impl Default for AllowEventsRequest
source§fn default() -> AllowEventsRequest
fn default() -> AllowEventsRequest
Returns the “default value” for a type. Read more
source§impl Hash for AllowEventsRequest
impl Hash for AllowEventsRequest
source§impl Ord for AllowEventsRequest
impl Ord for AllowEventsRequest
source§fn cmp(&self, other: &AllowEventsRequest) -> Ordering
fn cmp(&self, other: &AllowEventsRequest) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for AllowEventsRequest
impl PartialEq for AllowEventsRequest
source§fn eq(&self, other: &AllowEventsRequest) -> bool
fn eq(&self, other: &AllowEventsRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for AllowEventsRequest
impl PartialOrd for AllowEventsRequest
source§fn partial_cmp(&self, other: &AllowEventsRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &AllowEventsRequest) -> Option<Ordering>
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 moresource§impl Request for AllowEventsRequest
impl Request for AllowEventsRequest
impl Copy for AllowEventsRequest
impl Eq for AllowEventsRequest
impl StructuralEq for AllowEventsRequest
impl StructuralPartialEq for AllowEventsRequest
impl VoidRequest for AllowEventsRequest
Auto Trait Implementations§
impl RefUnwindSafe for AllowEventsRequest
impl Send for AllowEventsRequest
impl Sync for AllowEventsRequest
impl Unpin for AllowEventsRequest
impl UnwindSafe for AllowEventsRequest
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