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: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlRegion)
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: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlRegion, _: i32, _: i32, _: i32, _: i32)
add rectangle to region
Add the specified rectangle to the region.
Arguments: event_queue_handle, interface_data, wl_region, x, y, width, height
subtract: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlRegion, _: i32, _: i32, _: i32, _: i32)
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]
fn clone(&self) -> Implementation<ID>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more