Enum wayland_client::wayland::WlRegistryEvent [] [src]

pub enum WlRegistryEvent {
    Global(u32Stringu32),
    GlobalRemove(u32),
}

Variants

Global(u32Stringu32)

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.

Values: name, interface, version,

GlobalRemove(u32)

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.

Values: name,

Trait Implementations

impl Debug for WlRegistryEvent
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.