pub struct DragEndEvent {
pub entity: Entity,
pub position: Vec2,
}Expand description
Emitted once when the pointer releases at the end of an active drag.
Fields§
§entity: EntityThe entity that was dragged.
position: Vec2Final pointer position.
Trait Implementations§
Source§impl Clone for DragEndEvent
impl Clone for DragEndEvent
Source§fn clone(&self) -> DragEndEvent
fn clone(&self) -> DragEndEvent
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 DragEndEvent
impl Debug for DragEndEvent
impl Copy for DragEndEvent
impl Message for DragEndEvent
Auto Trait Implementations§
impl Freeze for DragEndEvent
impl RefUnwindSafe for DragEndEvent
impl Send for DragEndEvent
impl Sync for DragEndEvent
impl Unpin for DragEndEvent
impl UnsafeUnpin for DragEndEvent
impl UnwindSafe for DragEndEvent
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.