pub struct DragHitEvent {
pub modifiers: KeyModifiers,
pub abs: DVec2,
pub rect: Rect,
pub state: DragState,
pub items: Rc<Vec<DragItem>>,
pub response: Rc<Cell<DragResponse>>,
}Fields§
§modifiers: KeyModifiers§abs: DVec2§rect: Rect§state: DragState§items: Rc<Vec<DragItem>>§response: Rc<Cell<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 moreSource§impl Debug for DragHitEvent
impl Debug for DragHitEvent
Source§impl PartialEq for DragHitEvent
impl PartialEq for DragHitEvent
impl StructuralPartialEq for DragHitEvent
Auto 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> 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