[][src]Enum wayland_server::protocol::wl_region::Request

pub enum Request {
    Destroy,
    Add {
        x: i32,
        y: i32,
        width: i32,
        height: i32,
    },
    Subtract {
        x: i32,
        y: i32,
        width: i32,
        height: i32,
    },
}

Variants

Destroy

destroy region

Destroy the region. This will invalidate the object ID.

This is a destructor, once received this object cannot be used any longer.

Add

add rectangle to region

Add the specified rectangle to the region.

Fields of Add

x: i32y: i32width: i32height: i32
Subtract

subtract rectangle from region

Subtract the specified rectangle from the region.

Fields of Subtract

x: i32y: i32width: i32height: i32

Trait Implementations

impl MessageGroup for Request
[src]

type Map = ResourceMap

The wrapper type for ObjectMap allowing the mapping of Object and NewId arguments to the object map during parsing. Read more

Auto Trait Implementations

impl Send for Request

impl Sync for Request

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]