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

pub struct Implementation<ID> {
    pub get_shell_surface: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlShell, _: WlShellSurface, _: &WlSurface),
}

Fields

create a shell surface from a surface

Create a shell surface for an existing surface. This gives the wl_surface the role of a shell surface. If the wl_surface already has another role, it raises a protocol error.

Only one shell surface can be associated with a given surface.

Arguments: event_queue_handle, interface_data, client, wl_shell, id, surface

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