mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2026-02-21 18:49:04 +01:00
wip: refactor(output): 91 more errors...
This commit is contained in:
parent
eaa05b7f09
commit
f033f9ff54
5 changed files with 247 additions and 230 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue