Struct AllowEventsRequest
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: u32
Implementations§
Trait Implementations§
§impl Clone for AllowEventsRequest
impl Clone for AllowEventsRequest
§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 more§impl Debug for AllowEventsRequest
impl Debug for AllowEventsRequest
§impl Default for AllowEventsRequest
impl Default for AllowEventsRequest
§fn default() -> AllowEventsRequest
fn default() -> AllowEventsRequest
Returns the “default value” for a type. Read more
§impl Request for AllowEventsRequest
impl Request for AllowEventsRequest
impl Copy for AllowEventsRequest
impl VoidRequest for AllowEventsRequest
Auto Trait Implementations§
impl Freeze for AllowEventsRequest
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
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
)