wayland_server

Macro delegate_global_dispatch

source
macro_rules! delegate_global_dispatch {
    ($(@< $( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+ >)? $dispatch_from:ty : [$interface: ty: $udata: ty] => $dispatch_to: ty) => { ... };
}
Expand description

A helper macro which delegates a set of GlobalDispatch implementations for a resource to some other type which provdes a generic GlobalDispatch implementation.

Its usage is similar to the delegate_dispatch!() macro.