[][src]Enum wayland_client::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,
    },
    // some variants omitted
}

Variants

Destroy

destroy region

Destroy the region. This will invalidate the object ID.

This is a destructor, once sent 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 = ProxyMap

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 RefUnwindSafe for Request

impl Send for Request

impl Sync for Request

impl Unpin for Request

impl UnwindSafe for Request

Blanket Implementations

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

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

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

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

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.