[][src]Struct qt_gui::q_tablet_event::TabletDevice

#[repr(transparent)]
pub struct TabletDevice(_);

This enum defines what type of device is generating the event.

C++ enum: QTabletEvent::TabletDevice.

C++ documentation:

This enum defines what type of device is generating the event.

This enum was introduced or modified in Qt 4.1.

Methods

impl TabletDevice[src]

pub fn to_int(&self) -> c_int[src]

impl TabletDevice[src]

pub const NoDevice: TabletDevice[src]

No device, or an unknown device. (C++ enum variant: NoDevice = 0)

pub const Puck: TabletDevice[src]

A Puck (a device that is similar to a flat mouse with a transparent circle with cross-hairs). (C++ enum variant: Puck = 1)

pub const Stylus: TabletDevice[src]

A Stylus. (C++ enum variant: Stylus = 2)

pub const Airbrush: TabletDevice[src]

An airbrush (C++ enum variant: Airbrush = 3)

pub const FourDMouse: TabletDevice[src]

A 4D Mouse. (C++ enum variant: FourDMouse = 4)

pub const XFreeEraser: TabletDevice[src]

C++ enum variant: XFreeEraser = 5

pub const RotationStylus: TabletDevice[src]

A special stylus that also knows about rotation (a 6D stylus). (C++ enum variant: RotationStylus = 6)

Trait Implementations

impl Clone for TabletDevice[src]

impl Copy for TabletDevice[src]

impl Debug for TabletDevice[src]

impl Eq for TabletDevice[src]

impl From<TabletDevice> for c_int[src]

impl From<i32> for TabletDevice[src]

impl PartialEq<TabletDevice> for TabletDevice[src]

impl StructuralEq for TabletDevice[src]

impl StructuralPartialEq for TabletDevice[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.