Public declaration syntax from harness-tui-kit/src/util/layout.rs Original source SHA-256: 6b750b6125a2c19790bdda787666e9230b821c782bc7789b3734031759891789 Function bodies and constant values are omitted. This is not the complete implementation. Source line 37 #[must_use] pub fn centered_rect(width: u16, height: u16, outer: Rect) -> Rect; Source line 62 #[must_use] pub fn percentage_rect(width_pct: u16, height_pct: u16, outer: Rect) -> Rect; Source line 87 #[must_use] pub fn pad_rect(rect: Rect, horizontal: u16, vertical: u16) -> Rect;