pub trait IntSizeExt {
    // Required method
    fn to_screen_int_rect(&self, x: u32, y: u32) -> ScreenIntRect;
}Required Methods§
Sourcefn to_screen_int_rect(&self, x: u32, y: u32) -> ScreenIntRect
 
fn to_screen_int_rect(&self, x: u32, y: u32) -> ScreenIntRect
Converts the current size into a IntRect at a provided position.