Skip to main content

focus_cyclic

Function focus_cyclic 

Source
pub fn focus_cyclic(
    tree: &PaneTree,
    active: PaneId,
    ordinal: PaneFocusOrdinal,
) -> Option<PaneId>
Expand description

The cyclic neighbour of active in focus_order. Returns None when active is absent from the order or the tree has fewer than two leaves.