wip: now only need to remove 139x ratatui::layout::Rect

This commit is contained in:
🪞👃🪞 2024-09-06 23:51:33 +03:00
parent ff97070a03
commit 4b92465073
6 changed files with 84 additions and 123 deletions

View file

@ -224,7 +224,7 @@ pub fn half_block (lower: bool, upper: bool) -> Option<char> {
}
}
impl Rectangle<u16> for Rect {
impl Area<u16> for Rect {
fn x (&self) -> u16 { self.x }
fn y (&self) -> u16 { self.y }
fn w (&self) -> u16 { self.width }