pub trait RequestsTrait {
    fn destroy(&self);
    fn add(&self, x: i32, y: i32, width: i32, height: i32);
    fn subtract(&self, x: i32, y: i32, width: i32, height: i32);
}

Required Methods

destroy region

Destroy the region. This will invalidate the object ID.

This is a destructor, you cannot send requests to this object any longer once this method is called.

add rectangle to region

Add the specified rectangle to the region.

subtract rectangle from region

Subtract the specified rectangle from the region.

Implementors