Skip to main content

DragBridge

Function DragBridge 

Source
pub fn DragBridge<T: Clone + PartialEq + 'static>(
    _: DragBridgeProps<T>,
) -> Element
Expand description

The cross-window drag bridge: host-side eyes and ears for pointer drags that leave the origin window (see the module docs for the per-platform mechanics). super::MultiWindowProvider mounts this for ordinary use. When wiring manually, render one INSIDE each window’s DndProvider<T>; it renders nothing. A provider that did not join a crate::core::DndWorld gets a no-op bridge.

§Props

For details, see the props struct definition.

  • phantom : std::marker::PhantomData<T>

    Internal marker; never set this.