remove Screen::show

This commit is contained in:
facile pop culture reference 2026-08-03 11:51:58 +03:00
parent 4c25dcc702
commit 083ce8ba76
3 changed files with 24 additions and 30 deletions

View file

@ -40,3 +40,6 @@ fn align <S: Screen> (
}
})
}
#[cfg(test)] #[test] fn test_align () {
}

View file

@ -18,6 +18,7 @@ pub enum Full<T: Screen, I: Draw<T>> {
H(I),
WH(I),
}
impl_draw!(<T: Screen, I: Draw<T>,>|self: Full<T, I>, to: T|{
let XYWH(x0, y0, w0, h0) = to.area();
match self {