pub struct DragOperation {
pub target: Point,
pub steps: u32,
pub duration: Duration,
}Expand description
Drag operation builder
Fields§
§target: PointTarget point
steps: u32Number of intermediate steps
duration: DurationTotal duration of the drag
Implementations§
Trait Implementations§
Source§impl Clone for DragOperation
impl Clone for DragOperation
Source§fn clone(&self) -> DragOperation
fn clone(&self) -> DragOperation
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DragOperation
impl RefUnwindSafe for DragOperation
impl Send for DragOperation
impl Sync for DragOperation
impl Unpin for DragOperation
impl UnsafeUnpin for DragOperation
impl UnwindSafe for DragOperation
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