Function smithay_client_toolkit::registry::bind_one

source ยท
pub(crate) fn bind_one<I, D, U>(
    registry: &WlRegistry,
    globals: &[Global],
    qh: &QueueHandle<D>,
    version: RangeInclusive<u32>,
    udata: U,
) -> Result<I, BindError>
where D: Dispatch<I, U> + 'static, I: Proxy + 'static, U: Send + Sync + 'static,
Expand description

Binds a global, returning a new object associated with the global.