Struct xcb::xinput::GrabDevice[][src]

pub struct GrabDevice<'a> {
    pub grab_window: Window,
    pub time: Timestamp,
    pub this_device_mode: GrabMode,
    pub other_device_mode: GrabMode,
    pub owner_events: bool,
    pub device_id: u8,
    pub classes: &'a [EventClass],
}
Expand description

The GrabDevice request.

This request replies GrabDeviceReply.

Associated cookie types are GrabDeviceCookie and GrabDeviceCookieUnchecked.

Fields

grab_window: Windowtime: Timestampthis_device_mode: GrabModeother_device_mode: GrabModeowner_events: booldevice_id: u8classes: &'a [EventClass]

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Actual implementation of the request sending Read more

The default cookie associated to this request.

false if the request returns a reply, true otherwise.

Reply associated with the request

Default cookie type for the request, as returned by Connection::send_request.

Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.