[−][src]Struct qt_gui::q_tablet_event::TabletDevice
This enum defines what type of device is generating the event.
C++ enum: QTabletEvent::TabletDevice
.
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]
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]
fn clone(&self) -> TabletDevice
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for TabletDevice
[src]
impl Debug for TabletDevice
[src]
impl Eq for TabletDevice
[src]
impl From<TabletDevice> for c_int
[src]
fn from(value: TabletDevice) -> Self
[src]
impl From<i32> for TabletDevice
[src]
impl PartialEq<TabletDevice> for TabletDevice
[src]
fn eq(&self, other: &TabletDevice) -> bool
[src]
fn ne(&self, other: &TabletDevice) -> bool
[src]
impl StructuralEq for TabletDevice
[src]
impl StructuralPartialEq for TabletDevice
[src]
Auto Trait Implementations
impl RefUnwindSafe for TabletDevice
impl Send for TabletDevice
impl Sync for TabletDevice
impl Unpin for TabletDevice
impl UnwindSafe for TabletDevice
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,