Struct makepad_widgets::shader::std::DropHitEvent
pub struct DropHitEvent {
pub modifiers: KeyModifiers,
pub abs: DVec2,
pub rect: Rect,
pub items: Rc<Vec<DragItem, Global>, Global>,
}
Fields§
§modifiers: KeyModifiers
§abs: DVec2
§rect: Rect
§items: Rc<Vec<DragItem, Global>, Global>
Trait Implementations§
§impl Clone for DropHitEvent
impl Clone for DropHitEvent
§fn clone(&self) -> DropHitEvent
fn clone(&self) -> DropHitEvent
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 DropHitEvent
impl Debug for DropHitEvent
§impl PartialEq<DropHitEvent> for DropHitEvent
impl PartialEq<DropHitEvent> for DropHitEvent
§fn eq(&self, other: &DropHitEvent) -> bool
fn eq(&self, other: &DropHitEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DropHitEvent
Auto Trait Implementations§
impl RefUnwindSafe for DropHitEvent
impl !Send for DropHitEvent
impl !Sync for DropHitEvent
impl Unpin for DropHitEvent
impl UnwindSafe for DropHitEvent
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