pub struct DragTargetDetails<T> {
pub data: Rc<T>,
pub offset: Offset,
}Expand description
The data and global position at which a pointer event occurred on a drag target.
Fields§
§data: Rc<T>The data that was dropped onto this DragTarget.
offset: OffsetThe global position when the specific pointer event occurred on the draggable.
Trait Implementations§
Auto Trait Implementations§
impl<T> !Send for DragTargetDetails<T>
impl<T> !Sync for DragTargetDetails<T>
impl<T> Forget for DragTargetDetails<T>
impl<T> Freeze for DragTargetDetails<T>
impl<T> Move for DragTargetDetails<T>
impl<T> RefUnwindSafe for DragTargetDetails<T>where
Rc<T>: RefUnwindSafe,
impl<T> Unpin for DragTargetDetails<T>
impl<T> UnsafeUnpin for DragTargetDetails<T>
impl<T> UnwindSafe for DragTargetDetails<T>where
Rc<T>: UnwindSafe,
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