wip: Content and Widget traits

This commit is contained in:
🪞👃🪞 2024-09-08 23:48:30 +03:00
parent 5fc7da3aca
commit b944dd5f9e
13 changed files with 209 additions and 36 deletions

View file

@ -13,7 +13,7 @@ pub trait Engine: Sized {
/// Unit of distance.
type Unit: Number;
type Area: Area<Self::Unit> + From<[Self::Unit;4]>;
type Area: Area<Self::Unit> + From<[Self::Unit;4]> + Debug;
type HandleInput;
type Handled;