pub trait GlobalHandler<I: Interface> {
    fn created(
        &mut self,
        registry: Attached<WlRegistry>,
        id: u32,
        version: u32,
        ddata: DispatchData<'_>
    ); fn get(&self) -> Option<Attached<I>>; }
Expand description

Required trait for implementing a handler for “single” globals

Required methods

This global was created and signaled in the registry with given id and version

Access the global if it was signaled

Implementors