pub struct HandleGrabOffset { /* private fields */ }Expand description
Finger-to-handle relationship for one drag. The first phase preserves the captured offset exactly, the second shifts the handle above the finger, and the third preserves that final offset exactly. Progress is based on the furthest displacement from the grab, so event cadence and small reversals cannot change the result.
Implementations§
Trait Implementations§
Source§impl Clone for HandleGrabOffset
impl Clone for HandleGrabOffset
Source§fn clone(&self) -> HandleGrabOffset
fn clone(&self) -> HandleGrabOffset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HandleGrabOffset
Source§impl Debug for HandleGrabOffset
impl Debug for HandleGrabOffset
Source§impl PartialEq for HandleGrabOffset
impl PartialEq for HandleGrabOffset
impl StructuralPartialEq for HandleGrabOffset
Auto Trait Implementations§
impl Freeze for HandleGrabOffset
impl RefUnwindSafe for HandleGrabOffset
impl Send for HandleGrabOffset
impl Sync for HandleGrabOffset
impl Unpin for HandleGrabOffset
impl UnsafeUnpin for HandleGrabOffset
impl UnwindSafe for HandleGrabOffset
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