[][src]Trait wayland_client::protocol::wl_region::RequestsTrait

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

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.

fn add(&self, x: i32, y: i32, width: i32, height: i32)

add rectangle to region

Add the specified rectangle to the region.

fn subtract(&self, x: i32, y: i32, width: i32, height: i32)

subtract rectangle from region

Subtract the specified rectangle from the region.

Loading content...

Implementors

impl RequestsTrait for Proxy<WlRegion>[src]

Loading content...