Struct makepad_widgets::DragHitEvent
pub struct DragHitEvent {
pub modifiers: KeyModifiers,
pub abs: DVec2,
pub rect: Rect,
pub state: DragState,
pub items: Rc<Vec<DragItem, Global>, Global>,
pub response: Rc<Cell<DragResponse>, Global>,
}
Fields§
§modifiers: KeyModifiers
§abs: DVec2
§rect: Rect
§state: DragState
§items: Rc<Vec<DragItem, Global>, Global>
§response: Rc<Cell<DragResponse>, Global>
Trait Implementations§
§impl Clone for DragHitEvent
impl Clone for DragHitEvent
§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 more§impl Debug for DragHitEvent
impl Debug for DragHitEvent
§impl PartialEq<DragHitEvent> for DragHitEvent
impl PartialEq<DragHitEvent> for DragHitEvent
§fn eq(&self, other: &DragHitEvent) -> bool
fn eq(&self, other: &DragHitEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DragHitEvent
Auto Trait Implementations§
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