Struct wayland_server::protocol::wl_subcompositor::Implementation
[−]
[src]
pub struct Implementation<ID> { pub destroy: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlSubcompositor), pub get_subsurface: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlSubcompositor, _: WlSubsurface, _: &WlSurface, _: &WlSurface), }
Fields
destroy: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlSubcompositor)
unbind from the subcompositor interface
Informs the server that the client will not be using this protocol object anymore. This does not affect any other objects, wl_subsurface objects included.
Arguments: event_queue_handle, interface_data, wl_subcompositor
This is a destructor, you cannot send events to this object once this method is called.
get_subsurface: fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: &WlSubcompositor, _: WlSubsurface, _: &WlSurface, _: &WlSurface)
give a surface the role sub-surface
Create a sub-surface interface for the given surface, and associate it with the given parent surface. This turns a plain wl_surface into a sub-surface.
The to-be sub-surface must not already have another role, and it must not have an existing wl_subsurface object. Otherwise a protocol error is raised.
Arguments: event_queue_handle, interface_data, wl_subcompositor, id, surface, parent
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