When trait in Rust
I will start this article by demonstrating the problem that I was facing. I am developing a game in Ratatui, a really nice library for creating UIs in the terminal (TUI). Ratatui offers a builder pattern for widgets. Step 1: Building a simple widget // area: Rect, buf: &mut Buffer