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
get_shell_surface: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlShell, _: WlShellSurface, _: &WlSurface)
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]
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