pub struct DragDropDevice { /* private fields */ }Expand description
The input device that turns the raw drag events of the platform into
the routed drag-and-drop events of DragDrop.
This is an implementation detail of the platform backends.
Implementations§
Source§impl DragDropDevice
impl DragDropDevice
Sourcepub fn instance() -> Rc<DragDropDevice>
pub fn instance() -> Rc<DragDropDevice>
The drag-and-drop device of the current thread.
Trait Implementations§
impl IDragDropDevice for DragDropDevice
Source§impl IInputDevice for DragDropDevice
impl IInputDevice for DragDropDevice
Source§fn process_raw_event(&self, e: &dyn IRawInputEventArgs)
fn process_raw_event(&self, e: &dyn IRawInputEventArgs)
Processes raw event. Is called after preprocessing by the input
manager.
Source§fn as_pointer_device(&self) -> Option<&dyn IPointerDevice>
fn as_pointer_device(&self) -> Option<&dyn IPointerDevice>
The device as a pointer device, if it is one.
Auto Trait Implementations§
impl !Freeze for DragDropDevice
impl !RefUnwindSafe for DragDropDevice
impl !Send for DragDropDevice
impl !Sync for DragDropDevice
impl !UnwindSafe for DragDropDevice
impl Unpin for DragDropDevice
impl UnsafeUnpin for DragDropDevice
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more