Function moved_item
pub fn moved_item<T>(
current: Option<T>,
items: &[T],
action: ChartNavAction,
) -> Option<T>Expand description
Move through a filtered list while preserving the caller’s original item indices (for example, skipping invalid or zero-valued data).