azul_webrender_api::units

Type Alias ImageDirtyRect

Source
pub type ImageDirtyRect = DirtyRect<i32, DevicePixel>;

Aliased Type§

enum ImageDirtyRect {
    All,
    Partial(Box2D<i32, DevicePixel>),
}

Variants§

§

All

Everything is Dirty, equivalent to Partial(image_bounds)

§

Partial(Box2D<i32, DevicePixel>)

Some specific amount is dirty