Struct zaplib::PointerDownEvent
source · [−]pub struct PointerDownEvent {
pub window_id: usize,
pub abs: Vec2,
pub rel: Vec2,
pub rect: Rect,
pub digit: usize,
pub button: MouseButton,
pub tap_count: u32,
pub input_type: PointerInputType,
pub modifiers: KeyModifiers,
pub time: f64,
/* private fields */
}Expand description
See Event::PointerDown.
Fields
window_id: usizeabs: Vec2rel: Vec2TODO(JP): This is only set by Event::hits_pointer; use an Option or a different struct?
rect: RectTODO(JP): This is only set by Event::hits_pointer; use an Option or a different struct?
digit: usizetap_count: u32input_type: PointerInputTypemodifiers: KeyModifierstime: f64Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PointerDownEvent
impl Send for PointerDownEvent
impl Sync for PointerDownEvent
impl Unpin for PointerDownEvent
impl UnwindSafe for PointerDownEvent
Blanket Implementations
Mutably borrows from an owned value. Read more