Trait wayland_client::protocol::wl_region::RequestsTrait
source · 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
sourcefn destroy(&self)
fn destroy(&self)
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.