Skip to main content

DragTargetBuilder

Type Alias DragTargetBuilder 

Source
pub type DragTargetBuilder<T> = Rc<dyn Fn(&mut App, AnyElement, Vec<Option<Rc<T>>>, Vec<Option<Rc<dyn Any>>>) -> Rc<dyn Widget>>;
Expand description

Signature for building a drag target from its candidate and rejected data.

Aliased Typeยง

pub struct DragTargetBuilder<T> { /* private fields */ }