pub struct DragHitEvent {
pub modifiers: KeyModifiers,
pub abs: DVec2,
pub rect: Rect,
pub state: DragState,
pub items: Arc<Vec<DragItem>>,
pub response: Arc<Mutex<DragResponse>>,
}
Fields§
§modifiers: KeyModifiers
§abs: DVec2
§rect: Rect
§state: DragState
§items: Arc<Vec<DragItem>>
§response: Arc<Mutex<DragResponse>>
Trait Implementations§
Source§impl Clone for DragHitEvent
impl Clone for DragHitEvent
Source§fn clone(&self) -> DragHitEvent
fn clone(&self) -> DragHitEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for DragHitEvent
impl RefUnwindSafe for DragHitEvent
impl Send for DragHitEvent
impl Sync for DragHitEvent
impl Unpin for DragHitEvent
impl UnwindSafe for DragHitEvent
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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