Struct wayland_client::wayland::compositor::WlRegion [] [src]

pub struct WlRegion {
    // some fields omitted
}

region interface

A region object describes an area.

Region objects are used to describe the opaque and input regions of a surface.

Methods

impl WlRegion
[src]

destroy region

Destroy the region. This will invalidate the object ID.

add rectangle to region

Add the specified rectangle to the region.

subtract rectangle from region

Subtract the specified rectangle from the region.

Trait Implementations

impl Sync for WlRegion
[src]

impl Send for WlRegion
[src]

impl Proxy for WlRegion
[src]

The internal name of this interface, as advertized by the registry if it is a global.

The maximum version of this interface handled by the library.

Get the id of this proxy

Creates a proxy from a fresh ptr

Creates a proxy from a ptr that is managed elsewhere Read more

Set the event iterator associated to this proxy

impl Debug for WlRegion
[src]

Formats the value using the given formatter.

impl Drop for WlRegion
[src]

A method called when the value goes out of scope. Read more