pub struct X11DeviceXI2Builder { /* private fields */ }
Expand description

A builder-pattern type to construct X11DeviceXI2 objects.

Implementations§

Create a new X11DeviceXI2Builder.

Build the X11DeviceXI2.

The gdk::Display the gdk::Device pertains to.

Whether the device is represented by a cursor on the screen.

The device name.

The maximal number of concurrent touches on a touch device.

Will be 0 if the device is not a touch device or if the number of touches is unknown.

Product ID of this device.

See Gdk::Device::get_product_id().

gdk::Seat of this device.

Source type for the device.

Vendor ID of this device.

See Gdk::Device::get_vendor_id().

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.