pub struct DragState {
pub pointer_id: u64,
pub region_idx: usize,
pub param_id: u32,
pub start_value: f64,
pub start_y: f32,
pub widget_type: WidgetType,
pub region_x: f32,
pub region_y: f32,
pub region_w: f32,
pub region_h: f32,
}Fields§
§pointer_id: u64Identifier of the pointer (mouse or touch) driving this drag.
See SINGLE_POINTER.
region_idx: usize§param_id: u32§start_value: f64§start_y: f32§widget_type: WidgetType§region_x: f32§region_y: f32§region_w: f32§region_h: f32Auto Trait Implementations§
impl Freeze for DragState
impl RefUnwindSafe for DragState
impl Send for DragState
impl Sync for DragState
impl Unpin for DragState
impl UnsafeUnpin for DragState
impl UnwindSafe for DragState
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