pub(super) struct AxisData {
pub axis_state: TouchPhase,
pub axis_buffer: Option<(f32, f32)>,
pub axis_discrete_buffer: Option<(f32, f32)>,
}
Expand description
Axis data.
Fields§
§axis_state: TouchPhase
Current state of the axis.
axis_buffer: Option<(f32, f32)>
A buffer for PixelDelta
event.
axis_discrete_buffer: Option<(f32, f32)>
A buffer for LineDelta
event.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for AxisData
impl Send for AxisData
impl Sync for AxisData
impl Unpin for AxisData
impl UnwindSafe for AxisData
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