Skip to main content

default_backend

Function default_backend 

Source
pub fn default_backend() -> Box<dyn ExternalDndBackend>
Expand description

The default external-drag backend for the current target.

Every desktop target now has a real backend: OLE on Windows, NSDraggingDestination on macOS, wl_data_device on Wayland, XDND on X11. NoopExternalDndBackend remains for targets with no drop-target implementation at all. TeksiloAppBuilder::install_external_dnd uses this.