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 new surface

Ask the compositor to create a new surface.

Arguments: event_queue_handle, interface_data, client, wl_compositor, id

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]

[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 !=.

Auto Trait Implementations

impl<ID> Send for Implementation<ID>

impl<ID> Sync for Implementation<ID>