(area: Rect, height: u16)
| 37 | } |
| 38 | |
| 39 | pub fn footer(area: Rect, height: u16) -> Rect { |
| 40 | let layout = Layout::default() |
| 41 | .direction(Direction::Vertical) |
| 42 | .constraints([Constraint::Min(0), Constraint::Length(height)]) |
| 43 | .split(area); |
| 44 | layout[1] |
| 45 | } |
| 46 | |
| 47 | pub fn header(area: Rect, height: u16) -> Rect { |
| 48 | let layout = Layout::default() |
nothing calls this directly
no outgoing calls
no test coverage detected