Struct UngrabPointerRequest
pub struct UngrabPointerRequest {
pub time: u32,
}
Expand description
release the pointer.
Releases the pointer and any queued events if you actively grabbed the pointer
before using xcb_grab_pointer
, xcb_grab_button
or within a normal button
press.
EnterNotify and LeaveNotify events are generated.
§Fields
time
- Timestamp to avoid race conditions when running X over the network.
The pointer will not be released if time
is earlier than the
last-pointer-grab time or later than the current X server time.
name_len
- Length (in bytes) ofname
.name
- A pattern describing an X core font.
§See
GrabPointer
: requestGrabButton
: requestEnterNotify
: eventLeaveNotify
: event
Fields§
§time: u32
Implementations§
Trait Implementations§
§impl Clone for UngrabPointerRequest
impl Clone for UngrabPointerRequest
§fn clone(&self) -> UngrabPointerRequest
fn clone(&self) -> UngrabPointerRequest
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 UngrabPointerRequest
impl Debug for UngrabPointerRequest
§impl Default for UngrabPointerRequest
impl Default for UngrabPointerRequest
§fn default() -> UngrabPointerRequest
fn default() -> UngrabPointerRequest
Returns the “default value” for a type. Read more
§impl Request for UngrabPointerRequest
impl Request for UngrabPointerRequest
impl Copy for UngrabPointerRequest
impl VoidRequest for UngrabPointerRequest
Auto Trait Implementations§
impl Freeze for UngrabPointerRequest
impl RefUnwindSafe for UngrabPointerRequest
impl Send for UngrabPointerRequest
impl Sync for UngrabPointerRequest
impl Unpin for UngrabPointerRequest
impl UnwindSafe for UngrabPointerRequest
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
)