Struct egui::input_state::touch_state::DynGestureState
source · struct DynGestureState {
avg_distance: f32,
avg_abs_distance2: Vec2,
avg_pos: Pos2,
avg_force: f32,
heading: f32,
}
Expand description
Gesture data that can change over time
Fields§
§avg_distance: f32
used for proportional zooming
avg_abs_distance2: Vec2
used for non-proportional zooming
avg_pos: Pos2
§avg_force: f32
§heading: f32
Trait Implementations§
source§impl Clone for DynGestureState
impl Clone for DynGestureState
source§fn clone(&self) -> DynGestureState
fn clone(&self) -> DynGestureState
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 DynGestureState
impl Debug for DynGestureState
impl Copy for DynGestureState
Auto Trait Implementations§
impl Freeze for DynGestureState
impl RefUnwindSafe for DynGestureState
impl Send for DynGestureState
impl Sync for DynGestureState
impl Unpin for DynGestureState
impl UnwindSafe for DynGestureState
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)