pub struct FerroNativeDragSource;Expand description
Starts native drag-and-drop operations.
Implementations§
Trait Implementations§
Source§impl Default for FerroNativeDragSource
impl Default for FerroNativeDragSource
Source§impl IPlatformDragSource for FerroNativeDragSource
impl IPlatformDragSource for FerroNativeDragSource
Source§fn do_drag_drop_async(
&self,
trigger_event: &PointerPressedEventArgs,
data_transfer: Rc<dyn IDataTransfer>,
allowed_effects: DragDropEffects,
) -> LocalBoxFuture<DragDropEffects>
fn do_drag_drop_async( &self, trigger_event: &PointerPressedEventArgs, data_transfer: Rc<dyn IDataTransfer>, allowed_effects: DragDropEffects, ) -> LocalBoxFuture<DragDropEffects>
§Panics
Panics when the source of the trigger event is not hosted by a top-level of this backend.
Auto Trait Implementations§
impl Freeze for FerroNativeDragSource
impl RefUnwindSafe for FerroNativeDragSource
impl Send for FerroNativeDragSource
impl Sync for FerroNativeDragSource
impl Unpin for FerroNativeDragSource
impl UnsafeUnpin for FerroNativeDragSource
impl UnwindSafe for FerroNativeDragSource
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