[−][src]Trait wayland_server::protocol::wl_region::RequestHandler
An interface for handling requests.
Provided methods
fn destroy(&mut self, object: WlRegion)
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.
fn add(&mut self, object: WlRegion, x: i32, y: i32, width: i32, height: i32)
add rectangle to region
Add the specified rectangle to the region.
fn subtract(
&mut self,
object: WlRegion,
x: i32,
y: i32,
width: i32,
height: i32
)
&mut self,
object: WlRegion,
x: i32,
y: i32,
width: i32,
height: i32
)
subtract rectangle from region
Subtract the specified rectangle from the region.