Struct qt_gui::q_tablet_event::PointerType
source · pub struct PointerType(/* private fields */);
Expand description
This enum defines what type of point is generating the event.
C++ enum: QTabletEvent::PointerType
.
This enum defines what type of point is generating the event.
See also pointerType().
Implementations§
source§impl PointerType
impl PointerType
sourcepub const UnknownPointer: PointerType = _
pub const UnknownPointer: PointerType = _
An unknown device. (C++ enum variant: UnknownPointer = 0
)
sourcepub const Pen: PointerType = _
pub const Pen: PointerType = _
Tip end of a stylus-like device (the narrow end of the pen). (C++ enum variant: Pen = 1
)
sourcepub const Cursor: PointerType = _
pub const Cursor: PointerType = _
Any puck-like device. (C++ enum variant: Cursor = 2
)
sourcepub const Eraser: PointerType = _
pub const Eraser: PointerType = _
Eraser end of a stylus-like device (the broad end of the pen). (C++ enum variant: Eraser = 3
)
Trait Implementations§
source§impl Clone for PointerType
impl Clone for PointerType
source§fn clone(&self) -> PointerType
fn clone(&self) -> PointerType
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 Debug for PointerType
impl Debug for PointerType
source§impl From<PointerType> for c_int
impl From<PointerType> for c_int
source§fn from(value: PointerType) -> Self
fn from(value: PointerType) -> Self
Converts to this type from the input type.
source§impl From<i32> for PointerType
impl From<i32> for PointerType
source§impl PartialEq for PointerType
impl PartialEq for PointerType
source§fn eq(&self, other: &PointerType) -> bool
fn eq(&self, other: &PointerType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PointerType
impl Eq for PointerType
impl StructuralEq for PointerType
impl StructuralPartialEq for PointerType
Auto Trait Implementations§
impl RefUnwindSafe for PointerType
impl Send for PointerType
impl Sync for PointerType
impl Unpin for PointerType
impl UnwindSafe for PointerType
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