Trait tiny_skia::geom::IntRectExt

source ·
pub trait IntRectExt {
    // Required method
    fn to_screen_int_rect(&self) -> Option<ScreenIntRect>;
}

Required Methods§

source

fn to_screen_int_rect(&self) -> Option<ScreenIntRect>

Converts into ScreenIntRect.

§Checks
  • x >= 0
  • y >= 0

Implementors§