pub trait Sizes {
// Required methods
fn width(&self) -> u32;
fn height(&self) -> u32;
fn half_width(&self) -> u32;
fn half_height(&self) -> u32;
}
pub trait Sizes {
// Required methods
fn width(&self) -> u32;
fn height(&self) -> u32;
fn half_width(&self) -> u32;
fn half_height(&self) -> u32;
}