Struct wayland_server::protocol::wl_region::Implementation [] [src]

pub struct Implementation<ID> {
    pub destroy: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlRegion),
    pub add: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlRegion, _: i32, _: i32, _: i32, _: i32),
    pub subtract: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlRegion, _: i32, _: i32, _: i32, _: i32),
}

Fields

destroy region

Destroy the region. This will invalidate the object ID.

Arguments: event_queue_handle, interface_data, wl_region

This is a destructor, you cannot send events to this object once this method is called.

add rectangle to region

Add the specified rectangle to the region.

Arguments: event_queue_handle, interface_data, wl_region, x, y, width, height

subtract rectangle from region

Subtract the specified rectangle from the region.

Arguments: event_queue_handle, interface_data, wl_region, x, y, width, height

Trait Implementations

impl<ID> Copy for Implementation<ID>
[src]

impl<ID> Clone for Implementation<ID>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<ID> PartialEq for Implementation<ID>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.