pub struct DragState {
pub start: (f64, f64),
pub current: (f64, f64),
pub delta: (f64, f64),
pub total_delta: (f64, f64),
pub button: MouseButton,
pub initial_value: f64,
}Expand description
Active drag operation state
Fields§
§start: (f64, f64)§current: (f64, f64)§delta: (f64, f64)§total_delta: (f64, f64)§initial_value: f64Implementations§
Trait Implementations§
Auto 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