Struct wayland_server::protocol::wl_compositor::Implementation
[−]
[src]
pub struct Implementation<ID> {
pub create_surface: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlCompositor, _: WlSurface),
pub create_region: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlCompositor, _: WlRegion),
}Fields
create_surface: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlCompositor, _: WlSurface)
create new surface
Ask the compositor to create a new surface.
Arguments: event_queue_handle, interface_data, client, wl_compositor, id
create_region: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlCompositor, _: WlRegion)
create new region
Ask the compositor to create a new region.
Arguments: event_queue_handle, interface_data, client, wl_compositor, id
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