Function move_item
pub fn move_item<T>(v: &mut Vec<T>, from: usize, to: usize)Expand description
Move the item at from to final index to in v, matching the
(from, to) a DragController commit yields. A no-op when either index
is out of range or they are equal. Shared so the reorder applied to the
model is identical to the reflow the rail previewed.