1
2
3
4
5
6
7
8
use wayland_client::{Attached, Interface};

/// An utility for lazy-loading globals.
pub enum LazyGlobal<I: Interface> {
    Unknown,
    Seen { id: u32, version: u32 },
    Bound(Attached<I>),
}