Skip to main content

focus_edge

Function focus_edge 

Source
pub fn focus_edge(
    tree: &PaneTree,
    layout: &PaneLayout,
    direction: PaneCardinalDirection,
) -> Option<PaneId>
Expand description

The extreme leaf in a cardinal direction (jump to edge). Returns the active leaf’s own id when it is already the extreme, so callers can treat that as a no-op.