(area: Rect, width: u16)
| 61 | } |
| 62 | |
| 63 | pub fn sidebar_right(area: Rect, width: u16) -> (Rect, Rect) { |
| 64 | let layout = Layout::default() |
| 65 | .direction(Direction::Horizontal) |
| 66 | .constraints([Constraint::Min(0), Constraint::Length(width)]) |
| 67 | .split(area); |
| 68 | (layout[0], layout[1]) |
| 69 | } |
nothing calls this directly
no outgoing calls
no test coverage detected