Struct xcb::xinput::XiGrabDevice
source · pub struct XiGrabDevice<'a> {
pub window: Window,
pub time: Timestamp,
pub cursor: Cursor,
pub device: Device,
pub mode: GrabMode,
pub paired_device_mode: GrabMode,
pub owner_events: GrabOwner,
pub mask: &'a [u32],
}
Expand description
The XiGrabDevice
request.
This request replies XiGrabDeviceReply.
Associated cookie types are XiGrabDeviceCookie and XiGrabDeviceCookieUnchecked.
Fields§
§window: Window
§time: Timestamp
§cursor: Cursor
§device: Device
§mode: GrabMode
§paired_device_mode: GrabMode
§owner_events: GrabOwner
§mask: &'a [u32]
Trait Implementations§
source§impl<'a> Clone for XiGrabDevice<'a>
impl<'a> Clone for XiGrabDevice<'a>
source§fn clone(&self) -> XiGrabDevice<'a>
fn clone(&self) -> XiGrabDevice<'a>
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<'a> Debug for XiGrabDevice<'a>
impl<'a> Debug for XiGrabDevice<'a>
source§impl<'a> RawRequest for XiGrabDevice<'a>
impl<'a> RawRequest for XiGrabDevice<'a>
source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
source§impl<'a> Request for XiGrabDevice<'a>
impl<'a> Request for XiGrabDevice<'a>
source§impl<'a> RequestWithReply for XiGrabDevice<'a>
impl<'a> RequestWithReply for XiGrabDevice<'a>
source§type Reply = XiGrabDeviceReply
type Reply = XiGrabDeviceReply
Reply associated with the request
source§type Cookie = XiGrabDeviceCookie
type Cookie = XiGrabDeviceCookie
Default cookie type for the request, as returned by Connection::send_request.
source§type CookieUnchecked = XiGrabDeviceCookieUnchecked
type CookieUnchecked = XiGrabDeviceCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl<'a> Freeze for XiGrabDevice<'a>
impl<'a> RefUnwindSafe for XiGrabDevice<'a>
impl<'a> Send for XiGrabDevice<'a>
impl<'a> Sync for XiGrabDevice<'a>
impl<'a> Unpin for XiGrabDevice<'a>
impl<'a> UnwindSafe for XiGrabDevice<'a>
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
)