Skip to main content

start

Function start 

Source
pub fn start<T: Any + Send + Sync>(ctx: &Context, kind: &str, payload: T)
Expand description

Starts a drag of payload in the window being drawn (ctx’s viewport), as kind: a source calls it when its drag starts (Response::drag_started). A drag still in progress is replaced.

Experimental: may change in any release (docs/stability.md).