pub struct InternalDragCx {
pub pointer_id: PointerId,
pub position: Point,
pub position_window: Option<Point>,
pub tick_id: TickId,
pub kind: InternalDragKind,
pub modifiers: Modifiers,
}Expand description
Internal drag event payload for component-owned internal drag handlers.
Fields§
§pointer_id: PointerId§position: Point§position_window: Option<Point>Pointer position in window-local logical pixels (pre-mapping).
This is best-effort: events may arrive before the runtime has recorded a window snapshot.
tick_id: TickId§kind: InternalDragKind§modifiers: ModifiersTrait Implementations§
Source§impl Clone for InternalDragCx
impl Clone for InternalDragCx
Source§fn clone(&self) -> InternalDragCx
fn clone(&self) -> InternalDragCx
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 moreSource§impl Debug for InternalDragCx
impl Debug for InternalDragCx
Source§impl PartialEq for InternalDragCx
impl PartialEq for InternalDragCx
impl Copy for InternalDragCx
impl StructuralPartialEq for InternalDragCx
Auto Trait Implementations§
impl Freeze for InternalDragCx
impl RefUnwindSafe for InternalDragCx
impl Send for InternalDragCx
impl Sync for InternalDragCx
impl Unpin for InternalDragCx
impl UnsafeUnpin for InternalDragCx
impl UnwindSafe for InternalDragCx
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