Function move_item

Source
fn move_item(items: &mut Vec<PlanItem>, id: u64, delta: i32) -> bool
Expand description

Swap the item with its previous/next sibling. Returns true when the id was found (even at an edge).