pub struct DropQuery<'a, K> {
pub source: DragSource<'a, K>,
pub target: K,
pub position: DropPosition,
}Expand description
A hover-time question posed to a source: “may source drop at position
relative to target?” The source answers with a DropResponse.
Fields§
§source: DragSource<'a, K>Who is dragging.
target: KThe row currently hovered.
position: DropPositionWhere, relative to target, the drop would land.
Auto Trait Implementations§
impl<'a, K> !RefUnwindSafe for DropQuery<'a, K>
impl<'a, K> !Send for DropQuery<'a, K>
impl<'a, K> !Sync for DropQuery<'a, K>
impl<'a, K> !UnwindSafe for DropQuery<'a, K>
impl<'a, K> Freeze for DropQuery<'a, K>where
K: Freeze,
impl<'a, K> Unpin for DropQuery<'a, K>where
K: Unpin,
impl<'a, K> UnsafeUnpin for DropQuery<'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