pub type GraphicsServerConstructorCallback = dyn Fn(&GraphicsContextParams, &EventLoopWindowTarget<()>, WindowBuilder) -> GraphicsServerConstructorResult;
Expand description
Graphics server constructor callback responsible for actual server creation. Graphics server initialization usually tied together with window creation on some operating systems, that’s why the constructor accepts window builder and must return the window built with the builder as well as the server.