pub struct DragMoveEvent {
pub entity: Entity,
pub position: Vec2,
pub delta: Vec2,
}Expand description
Emitted on each pointer move while a drag is active on the entity.
Fields§
§entity: EntityThe entity being dragged.
position: Vec2Current pointer position.
delta: Vec2Position delta since the last move event.
Trait Implementations§
Source§impl Clone for DragMoveEvent
impl Clone for DragMoveEvent
Source§fn clone(&self) -> DragMoveEvent
fn clone(&self) -> DragMoveEvent
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 moreSource§impl Debug for DragMoveEvent
impl Debug for DragMoveEvent
impl Copy for DragMoveEvent
impl Message for DragMoveEvent
Auto Trait Implementations§
impl Freeze for DragMoveEvent
impl RefUnwindSafe for DragMoveEvent
impl Send for DragMoveEvent
impl Sync for DragMoveEvent
impl Unpin for DragMoveEvent
impl UnsafeUnpin for DragMoveEvent
impl UnwindSafe for DragMoveEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.