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

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.

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]

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