Struct wayland_client::protocol::wl_registry::Implementation [] [src]

pub struct Implementation<ID> {
    pub global: fn(_: &mut EventQueueHandle, _: &mut ID, _: &WlRegistry, _: u32, _: String, _: u32),
    pub global_remove: fn(_: &mut EventQueueHandle, _: &mut ID, _: &WlRegistry, _: u32),
}

Fields

announce global object

Notify the client of global objects.

The event notifies the client that a global object with the given name is now available, and it implements the given version of the given interface.

Arguments: event_queue_handle, interface_data, wl_registry, name, interface, version

announce removal of global object

Notify the client of removed global objects.

This event notifies the client that the global identified by name is no longer available. If the client bound to the global using the bind request, the client should now destroy that object.

The object remains valid and requests to the object will be ignored until the client destroys it, to avoid races between the global going away and a client sending a request to it.

Arguments: event_queue_handle, interface_data, wl_registry, name

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