wip: refactor(output): 91 more errors...

This commit is contained in:
same mf who else 2026-02-14 20:14:27 +02:00
parent eaa05b7f09
commit f033f9ff54
5 changed files with 247 additions and 230 deletions

View file

@ -30,9 +30,9 @@ pub trait Out: Send + Sync + Sized {
/// Unit of length
type Unit: Coord;
/// Rectangle without offset
type Size: Size<Self::Unit>;
type Size: HasWH<Self::Unit>;
/// Rectangle with offset
type Area: Area<Self::Unit>;
type Area: HasXYWH<Self::Unit>;
/// Current output area
fn area (&self) -> Self::Area;
/// Mutable pointer to area.