Start porting terminal_element to gpui2
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
This commit is contained in:
parent
d89c51135a
commit
61d6cb880c
2 changed files with 63 additions and 61 deletions
|
@ -335,6 +335,10 @@ where
|
|||
};
|
||||
Bounds { origin, size }
|
||||
}
|
||||
|
||||
pub fn new(origin: Point<T>, size: Size<T>) -> Self {
|
||||
Bounds { origin, size }
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> Bounds<T>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue