Struct wayland_server::protocol::wl_compositor::Implementation
[−]
[src]
pub struct Implementation<ID> {
pub create_surface: fn(evqh: &mut EventLoopHandle, data: &mut ID, client: &Client, wl_compositor: &WlCompositor, id: WlSurface),
pub create_region: fn(evqh: &mut EventLoopHandle, data: &mut ID, client: &Client, wl_compositor: &WlCompositor, id: WlRegion),
}Fields
create_surface: fn(evqh: &mut EventLoopHandle, data: &mut ID, client: &Client, wl_compositor: &WlCompositor, id: 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(evqh: &mut EventLoopHandle, data: &mut ID, client: &Client, wl_compositor: &WlCompositor, id: 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