1
0
Fork 0
forked from wry/wry

render: compute image width/height in single function call

This commit is contained in:
Julian Orth 2024-02-03 23:27:22 +01:00
parent db9c382002
commit 4ba8550da8
7 changed files with 18 additions and 18 deletions

View file

@ -270,8 +270,7 @@ pub trait GfxImage {
}
pub trait GfxTexture: Debug {
fn width(&self) -> i32;
fn height(&self) -> i32;
fn size(&self) -> (i32, i32);
fn as_any(&self) -> &dyn Any;
}