Struct show_image::event::WindowTouchpadPressureEvent [−][src]
pub struct WindowTouchpadPressureEvent {
pub window_id: WindowId,
pub device_id: DeviceId,
pub pressure: f32,
pub stage: i64,
}
Expand description
A window received touchpad pressure input.
Fields
window_id: WindowId
The ID of the window.
device_id: DeviceId
The device that generated the input.
pressure: f32
The pressure on the touch pad, in the range 0 to 1.
stage: i64
The click level of the touch pad.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for WindowTouchpadPressureEvent
impl Send for WindowTouchpadPressureEvent
impl Sync for WindowTouchpadPressureEvent
impl Unpin for WindowTouchpadPressureEvent
impl UnwindSafe for WindowTouchpadPressureEvent
Blanket Implementations
Mutably borrows from an owned value. Read more