#[repr(C)]pub struct DragDelta {
pub dx: f32,
pub dy: f32,
}Expand description
Drag offset from the cursor position at drag start (logical pixels).
dx/dy are the delta from drag start to current position.
Fields§
§dx: f32§dy: f32Implementations§
Trait Implementations§
Source§impl PartialOrd for DragDelta
impl PartialOrd for DragDelta
impl Copy for DragDelta
impl StructuralPartialEq for DragDelta
Auto Trait Implementations§
impl Freeze for DragDelta
impl RefUnwindSafe for DragDelta
impl Send for DragDelta
impl Sync for DragDelta
impl Unpin for DragDelta
impl UnsafeUnpin for DragDelta
impl UnwindSafe for DragDelta
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