Enum wayland_client::GlobalEvent[][src]

pub enum GlobalEvent {
    New {
        id: u32,
        interface: String,
        version: u32,
    },
    Removed {
        id: u32,
        interface: String,
    },
}

Event provided to the user callback of GlobalManager

Variants

A new global was created

Fields of New

Id of the new global

Interface of the new global

Maximum supported version of the new global

A global was removed

Fields of Removed

Id of the removed global

Interface of the removed global

Auto Trait Implementations

impl Send for GlobalEvent

impl Sync for GlobalEvent