pub trait DragDropItem {
    // Required method
    fn id(&self) -> Id;
}
Expand description

Item that can be reordered using drag and drop

Required Methods§

source

fn id(&self) -> Id

Unique id for the item, to allow egui to keep track of its dragged state between frames

Implementors§

source§

impl<T: Hash> DragDropItem for T