pub struct DropCommit<'a, K> {
pub source: DragSource<'a, K>,
pub target: K,
pub position: DropPosition,
}Expand description
A drop the user actually committed, handed to accept_drop to apply.
Fields§
§source: DragSource<'a, K>Who dragged.
target: KThe row dropped onto.
position: DropPositionWhere, relative to target, the drop landed (after any Redirect).
Auto Trait Implementations§
impl<'a, K> !RefUnwindSafe for DropCommit<'a, K>
impl<'a, K> !Send for DropCommit<'a, K>
impl<'a, K> !Sync for DropCommit<'a, K>
impl<'a, K> !UnwindSafe for DropCommit<'a, K>
impl<'a, K> Freeze for DropCommit<'a, K>where
K: Freeze,
impl<'a, K> Unpin for DropCommit<'a, K>where
K: Unpin,
impl<'a, K> UnsafeUnpin for DropCommit<'a, K>where
K: UnsafeUnpin,
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