Trait Sizes

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

Required Methods§

Source

fn width(&self) -> u32

Source

fn height(&self) -> u32

Source

fn half_width(&self) -> u32

Source

fn half_height(&self) -> u32

Implementors§