Type Definition wayland_server::GlobalCallback [] [src]

type GlobalCallback<R, ID> = fn(_: &mut EventLoopHandle, _: &mut ID, _: &Client, _: R);

Callback function called when a global is instanciated by a client

Arguments are:

  • handle to the eventloop
  • implementation data you provided to register_global
  • client that instanciated the global
  • the newly instanciated global