var searchIndex = {}; searchIndex["glfw"] = {"doc":"An ideomatic wrapper for the GLFW library.","items":[[3,"DebugAliases","glfw","Formats the type using aliases rather than the default variant names.",null,null],[12,"0","","",0,null],[3,"Callback","","",null,null],[12,"f","","",1,null],[12,"data","","",1,null],[3,"VidMode","","Describes a single video mode.",null,null],[12,"width","","",2,null],[12,"height","","",2,null],[12,"red_bits","","",2,null],[12,"green_bits","","",2,null],[12,"blue_bits","","",2,null],[12,"refresh_rate","","",2,null],[3,"GammaRamp","","Describes the gamma ramp of a monitor.",null,null],[12,"red","","",3,null],[12,"green","","",3,null],[12,"blue","","",3,null],[3,"Glfw","","A token from which to call various GLFW functions. It can be obtained by\ncalling the `init` function. This cannot be sent to other tasks, and should\nonly be initialized on the main platform thread. Whilst this might make\nperforming some operations harder, this is to ensure thread safety is enforced\nstatically. The context can be safely cloned or implicitly copied if need be\nfor convenience.",null,null],[3,"Monitor","","A struct that wraps a `*GLFWmonitor` handle.",null,null],[3,"Modifiers","","Key modifiers",null,null],[3,"FlushedMessages","","An iterator that yields until no more messages are contained in the\n`Receiver`'s queue.",null,null],[3,"Window","","A struct that wraps a `*GLFWwindow` handle.",null,null],[12,"ptr","","",4,null],[12,"glfw","","",4,null],[12,"is_shared","","",4,null],[3,"RenderContext","","A rendering context that can be shared between tasks.",null,null],[3,"Joystick","","A joystick handle.",null,null],[12,"id","","",5,null],[12,"glfw","","",5,null],[4,"Action","","Input actions.",null,null],[13,"Release","","",6,null],[13,"Press","","",6,null],[13,"Repeat","","",6,null],[4,"Key","","Input keys.",null,null],[13,"Space","","",7,null],[13,"Apostrophe","","",7,null],[13,"Comma","","",7,null],[13,"Minus","","",7,null],[13,"Period","","",7,null],[13,"Slash","","",7,null],[13,"Num0","","",7,null],[13,"Num1","","",7,null],[13,"Num2","","",7,null],[13,"Num3","","",7,null],[13,"Num4","","",7,null],[13,"Num5","","",7,null],[13,"Num6","","",7,null],[13,"Num7","","",7,null],[13,"Num8","","",7,null],[13,"Num9","","",7,null],[13,"Semicolon","","",7,null],[13,"Equal","","",7,null],[13,"A","","",7,null],[13,"B","","",7,null],[13,"C","","",7,null],[13,"D","","",7,null],[13,"E","","",7,null],[13,"F","","",7,null],[13,"G","","",7,null],[13,"H","","",7,null],[13,"I","","",7,null],[13,"J","","",7,null],[13,"K","","",7,null],[13,"L","","",7,null],[13,"M","","",7,null],[13,"N","","",7,null],[13,"O","","",7,null],[13,"P","","",7,null],[13,"Q","","",7,null],[13,"R","","",7,null],[13,"S","","",7,null],[13,"T","","",7,null],[13,"U","","",7,null],[13,"V","","",7,null],[13,"W","","",7,null],[13,"X","","",7,null],[13,"Y","","",7,null],[13,"Z","","",7,null],[13,"LeftBracket","","",7,null],[13,"Backslash","","",7,null],[13,"RightBracket","","",7,null],[13,"GraveAccent","","",7,null],[13,"World1","","",7,null],[13,"World2","","",7,null],[13,"Escape","","",7,null],[13,"Enter","","",7,null],[13,"Tab","","",7,null],[13,"Backspace","","",7,null],[13,"Insert","","",7,null],[13,"Delete","","",7,null],[13,"Right","","",7,null],[13,"Left","","",7,null],[13,"Down","","",7,null],[13,"Up","","",7,null],[13,"PageUp","","",7,null],[13,"PageDown","","",7,null],[13,"Home","","",7,null],[13,"End","","",7,null],[13,"CapsLock","","",7,null],[13,"ScrollLock","","",7,null],[13,"NumLock","","",7,null],[13,"PrintScreen","","",7,null],[13,"Pause","","",7,null],[13,"F1","","",7,null],[13,"F2","","",7,null],[13,"F3","","",7,null],[13,"F4","","",7,null],[13,"F5","","",7,null],[13,"F6","","",7,null],[13,"F7","","",7,null],[13,"F8","","",7,null],[13,"F9","","",7,null],[13,"F10","","",7,null],[13,"F11","","",7,null],[13,"F12","","",7,null],[13,"F13","","",7,null],[13,"F14","","",7,null],[13,"F15","","",7,null],[13,"F16","","",7,null],[13,"F17","","",7,null],[13,"F18","","",7,null],[13,"F19","","",7,null],[13,"F20","","",7,null],[13,"F21","","",7,null],[13,"F22","","",7,null],[13,"F23","","",7,null],[13,"F24","","",7,null],[13,"F25","","",7,null],[13,"Kp0","","",7,null],[13,"Kp1","","",7,null],[13,"Kp2","","",7,null],[13,"Kp3","","",7,null],[13,"Kp4","","",7,null],[13,"Kp5","","",7,null],[13,"Kp6","","",7,null],[13,"Kp7","","",7,null],[13,"Kp8","","",7,null],[13,"Kp9","","",7,null],[13,"KpDecimal","","",7,null],[13,"KpDivide","","",7,null],[13,"KpMultiply","","",7,null],[13,"KpSubtract","","",7,null],[13,"KpAdd","","",7,null],[13,"KpEnter","","",7,null],[13,"KpEqual","","",7,null],[13,"LeftShift","","",7,null],[13,"LeftControl","","",7,null],[13,"LeftAlt","","",7,null],[13,"LeftSuper","","",7,null],[13,"RightShift","","",7,null],[13,"RightControl","","",7,null],[13,"RightAlt","","",7,null],[13,"RightSuper","","",7,null],[13,"Menu","","",7,null],[4,"MouseButton","","Mouse buttons. The `MouseButtonLeft`, `MouseButtonRight`, and\n`MouseButtonMiddle` aliases are supplied for convenience.",null,null],[13,"Button1","","The left mouse button. A `MouseButtonLeft` alias is provided to improve clarity.",8,null],[13,"Button2","","The right mouse button. A `MouseButtonRight` alias is provided to improve clarity.",8,null],[13,"Button3","","The middle mouse button. A `MouseButtonMiddle` alias is provided to improve clarity.",8,null],[13,"Button4","","",8,null],[13,"Button5","","",8,null],[13,"Button6","","",8,null],[13,"Button7","","",8,null],[13,"Button8","","",8,null],[4,"Error","","Tokens corresponding to various error types.",null,null],[13,"NotInitialized","","",9,null],[13,"NoCurrentContext","","",9,null],[13,"InvalidEnum","","",9,null],[13,"InvalidValue","","",9,null],[13,"OutOfMemory","","",9,null],[13,"ApiUnavailable","","",9,null],[13,"VersionUnavailable","","",9,null],[13,"PlatformError","","",9,null],[13,"FormatUnavailable","","",9,null],[4,"CursorMode","","Cursor modes.",null,null],[13,"Normal","","",10,null],[13,"Hidden","","",10,null],[13,"Disabled","","",10,null],[4,"InitError","","An error that might be returned when `glfw::init` is called.",null,null],[13,"AlreadyInitialized","","The library was already initialized.",11,null],[13,"Internal","","An internal error occured when trying to initialize the library.",11,null],[4,"MonitorEvent","","Monitor events.",null,null],[13,"Connected","","",12,null],[13,"Disconnected","","",12,null],[4,"WindowHint","","Window hints that can be set using the `window_hint` function.",null,null],[13,"RedBits","","Specifies the desired bit depth of the red component of the default framebuffer.",13,null],[13,"GreenBits","","Specifies the desired bit depth of the green component of the default framebuffer.",13,null],[13,"BlueBits","","Specifies the desired bit depth of the blue component of the default framebuffer.",13,null],[13,"AlphaBits","","Specifies the desired bit depth of the alpha component of the default framebuffer.",13,null],[13,"DepthBits","","Specifies the desired bit depth of the depth component of the default framebuffer.",13,null],[13,"StencilBits","","Specifies the desired bit depth of the stencil component of the default framebuffer.",13,null],[13,"AccumRedBits","","Specifies the desired bit depth of the red component of the accumulation framebuffer.",13,null],[13,"AccumGreenBits","","Specifies the desired bit depth of the green component of the accumulation framebuffer.",13,null],[13,"AccumBlueBits","","Specifies the desired bit depth of the blue component of the accumulation framebuffer.",13,null],[13,"AccumAlphaBits","","Specifies the desired bit depth of the alpha component of the accumulation framebuffer.",13,null],[13,"AuxBuffers","","Specifies the desired number of auxiliary buffers.",13,null],[13,"Stereo","","Specifies whether to use stereoscopic rendering.",13,null],[13,"Samples","","Specifies the desired number of samples to use for multisampling. Zero\ndisables multisampling.",13,null],[13,"SRgbCapable","","Specifies whether the framebuffer should be sRGB capable.",13,null],[13,"RefreshRate","","Specifies the desired refresh rate for full screen windows. If set to\nzero, the highest available refresh rate will be used.",13,null],[13,"ClientApi","","Specifies which `ClientApi` to create the context for.",13,null],[13,"ContextVersionMajor","","Specifies the major client API version that the created context must be\ncompatible with.",13,null],[13,"ContextVersionMinor","","Specifies the minor client API version that the created context must be\ncompatible with.",13,null],[13,"ContextVersion","","Specifies the client API version that the created context must be\ncompatible with. This is the same as successive calls to `window_hint`\nfunction with the `ContextVersionMajor` and `ContextVersionMinor` hints.",13,null],[13,"ContextRobustness","","Specifies the `ContextRobustness` strategy to be used.",13,null],[13,"OpenGlForwardCompat","","Specifies whether the OpenGL context should be forward-compatible, i.e.\none where all functionality deprecated in the requested version of\nOpenGL is removed. This may only be used if the requested OpenGL version\nis 3.0 or above.",13,null],[13,"OpenGlDebugContext","","Specifies whether to create a debug OpenGL context, which may have\nadditional error and performance issue reporting functionality.",13,null],[13,"OpenGlProfile","","Specifies which OpenGL profile to create the context for. If requesting\nan OpenGL version below 3.2, `OpenGlAnyProfile` must be used.",13,null],[13,"Resizable","","Specifies whether the window will be resizable by the user. Even if this\nis set to `false`, the window can still be resized using the\n`Window::set_size` function.",13,null],[13,"Visible","","Specifies whether the window will be visible on creation.",13,null],[13,"Decorated","","Specifies whether the window will have platform-specific decorations\nsuch as a border, a close widget, etc.",13,null],[13,"AutoIconify","","Specifies whether the (full screen) window will automatically iconify\nand restore the previous video mode on input focus loss.",13,null],[13,"Floating","","Specifies whether the window will be floating above other regular\nwindows, also called topmost or always-on-top.",13,null],[4,"ClientApiHint","","Client API tokens.",null,null],[13,"OpenGl","","",14,null],[13,"OpenGlEs","","",14,null],[4,"ContextRobustnessHint","","Context robustness tokens.",null,null],[13,"NoRobustness","","",15,null],[13,"NoResetNotification","","",15,null],[13,"LoseContextOnReset","","",15,null],[4,"OpenGlProfileHint","","OpenGL profile tokens.",null,null],[13,"Any","","",16,null],[13,"Core","","",16,null],[13,"Compat","","",16,null],[4,"WindowMode","","Describes the mode of a window",null,null],[13,"FullScreen","","Full screen mode. Contains the monitor on which the window is displayed.",17,null],[13,"Windowed","","Windowed mode.",17,null],[4,"WindowEvent","","Window event messages.",null,null],[13,"Pos","","",18,null],[13,"Size","","",18,null],[13,"Close","","",18,null],[13,"Refresh","","",18,null],[13,"Focus","","",18,null],[13,"Iconify","","",18,null],[13,"FramebufferSize","","",18,null],[13,"MouseButton","","",18,null],[13,"CursorPos","","",18,null],[13,"CursorEnter","","",18,null],[13,"Scroll","","",18,null],[13,"Key","","",18,null],[13,"Char","","",18,null],[4,"JoystickId","","Joystick identifier tokens.",null,null],[13,"Joystick1","","",19,null],[13,"Joystick2","","",19,null],[13,"Joystick3","","",19,null],[13,"Joystick4","","",19,null],[13,"Joystick5","","",19,null],[13,"Joystick6","","",19,null],[13,"Joystick7","","",19,null],[13,"Joystick8","","",19,null],[13,"Joystick9","","",19,null],[13,"Joystick10","","",19,null],[13,"Joystick11","","",19,null],[13,"Joystick12","","",19,null],[13,"Joystick13","","",19,null],[13,"Joystick14","","",19,null],[13,"Joystick15","","",19,null],[13,"Joystick16","","",19,null],[5,"fail_on_errors","","The function to be used with the `FAIL_ON_ERRORS` callback.",null,null],[5,"log_errors","","The function to be used with the `LOG_ERRORS` callback.",null,null],[5,"init","","Initializes the GLFW library. This must be called on the main platform\nthread.",null,{"inputs":[{"name":"option"}],"output":{"name":"result"}}],[5,"get_version","","Wrapper for `glfwGetVersion`.",null,{"inputs":[],"output":{"name":"version"}}],[5,"string_from_c_str","","Replacement for `String::from_raw_buf`",null,null],[5,"with_c_str","","Replacement for `ToCStr::with_c_str`",null,{"inputs":[{"name":"str"},{"name":"f"}],"output":{"name":"t"}}],[5,"get_version_string","","Wrapper for `glfwGetVersionString`.",null,{"inputs":[],"output":{"name":"string"}}],[5,"flush_messages","","Returns an iterator that yields until no more messages are contained in the\n`Receiver`'s queue. This is useful for event handling where the blocking\nbehaviour of `Receiver::iter` is undesirable.",null,{"inputs":[{"name":"receiver"}],"output":{"name":"flushedmessages"}}],[5,"make_context_current","","Wrapper for `glfwMakeContextCurrent`.",null,{"inputs":[{"name":"option"}],"output":null}],[0,"ffi","","Low-level function bindings and constants pertaining to the underlying\nGLFW library.",null,null],[3,"GLFWgammaramp","glfw::ffi","",null,null],[12,"red","","",20,null],[12,"green","","",20,null],[12,"blue","","",20,null],[12,"size","","",20,null],[3,"GLFWvidmode","","",null,null],[12,"width","","",21,null],[12,"height","","",21,null],[12,"redBits","","",21,null],[12,"greenBits","","",21,null],[12,"blueBits","","",21,null],[12,"refreshRate","","",21,null],[3,"GLFWimage","","",null,null],[12,"width","","",22,null],[12,"height","","",22,null],[12,"pixels","","",22,null],[4,"GLFWmonitor","","",null,null],[4,"GLFWwindow","","",null,null],[4,"GLFWcursor","","",null,null],[5,"glfwInit","","",null,null],[5,"glfwTerminate","","",null,null],[5,"glfwGetVersion","","",null,null],[5,"glfwGetVersionString","","",null,null],[5,"glfwSetErrorCallback","","",null,null],[5,"glfwGetMonitors","","",null,null],[5,"glfwGetPrimaryMonitor","","",null,null],[5,"glfwGetMonitorPos","","",null,null],[5,"glfwGetMonitorPhysicalSize","","",null,null],[5,"glfwGetMonitorName","","",null,null],[5,"glfwSetMonitorCallback","","",null,null],[5,"glfwGetVideoModes","","",null,null],[5,"glfwGetVideoMode","","",null,null],[5,"glfwSetGamma","","",null,null],[5,"glfwGetGammaRamp","","",null,null],[5,"glfwSetGammaRamp","","",null,null],[5,"glfwDefaultWindowHints","","",null,null],[5,"glfwWindowHint","","",null,null],[5,"glfwCreateWindow","","",null,null],[5,"glfwDestroyWindow","","",null,null],[5,"glfwWindowShouldClose","","",null,null],[5,"glfwSetWindowShouldClose","","",null,null],[5,"glfwSetWindowTitle","","",null,null],[5,"glfwGetWindowPos","","",null,null],[5,"glfwSetWindowPos","","",null,null],[5,"glfwGetWindowSize","","",null,null],[5,"glfwSetWindowSize","","",null,null],[5,"glfwGetFramebufferSize","","",null,null],[5,"glfwIconifyWindow","","",null,null],[5,"glfwRestoreWindow","","",null,null],[5,"glfwShowWindow","","",null,null],[5,"glfwHideWindow","","",null,null],[5,"glfwGetWindowMonitor","","",null,null],[5,"glfwGetWindowAttrib","","",null,null],[5,"glfwSetWindowUserPointer","","",null,null],[5,"glfwGetWindowUserPointer","","",null,null],[5,"glfwSetWindowPosCallback","","",null,null],[5,"glfwSetWindowSizeCallback","","",null,null],[5,"glfwSetWindowCloseCallback","","",null,null],[5,"glfwSetWindowRefreshCallback","","",null,null],[5,"glfwSetWindowFocusCallback","","",null,null],[5,"glfwSetWindowIconifyCallback","","",null,null],[5,"glfwSetFramebufferSizeCallback","","",null,null],[5,"glfwPollEvents","","",null,null],[5,"glfwWaitEvents","","",null,null],[5,"glfwPostEmptyEvent","","",null,null],[5,"glfwGetInputMode","","",null,null],[5,"glfwSetInputMode","","",null,null],[5,"glfwGetKey","","",null,null],[5,"glfwGetMouseButton","","",null,null],[5,"glfwGetCursorPos","","",null,null],[5,"glfwSetCursorPos","","",null,null],[5,"glfwCreateCursor","","",null,null],[5,"glfwCreateStandardCursor","","",null,null],[5,"glfwDestroyCursor","","",null,null],[5,"glfwSetCursor","","",null,null],[5,"glfwSetKeyCallback","","",null,null],[5,"glfwSetCharCallback","","",null,null],[5,"glfwSetCharModsCallback","","",null,null],[5,"glfwSetMouseButtonCallback","","",null,null],[5,"glfwSetCursorPosCallback","","",null,null],[5,"glfwSetCursorEnterCallback","","",null,null],[5,"glfwSetScrollCallback","","",null,null],[5,"glfwSetDropCallback","","",null,null],[5,"glfwJoystickPresent","","",null,null],[5,"glfwGetJoystickAxes","","",null,null],[5,"glfwGetJoystickButtons","","",null,null],[5,"glfwGetJoystickName","","",null,null],[5,"glfwSetClipboardString","","",null,null],[5,"glfwGetClipboardString","","",null,null],[5,"glfwGetTime","","",null,null],[5,"glfwSetTime","","",null,null],[5,"glfwMakeContextCurrent","","",null,null],[5,"glfwGetCurrentContext","","",null,null],[5,"glfwSwapBuffers","","",null,null],[5,"glfwSwapInterval","","",null,null],[5,"glfwExtensionSupported","","",null,null],[5,"glfwGetProcAddress","","",null,null],[5,"glfwGetX11Window","","",null,null],[5,"glfwGetX11Display","","",null,null],[5,"glfwGetGLXContext","","",null,null],[6,"GLFWglproc","","",null,null],[6,"GLFWerrorfun","","",null,null],[6,"GLFWwindowposfun","","",null,null],[6,"GLFWwindowsizefun","","",null,null],[6,"GLFWwindowclosefun","","",null,null],[6,"GLFWwindowrefreshfun","","",null,null],[6,"GLFWwindowfocusfun","","",null,null],[6,"GLFWwindowiconifyfun","","",null,null],[6,"GLFWframebuffersizefun","","",null,null],[6,"GLFWmousebuttonfun","","",null,null],[6,"GLFWcursorposfun","","",null,null],[6,"GLFWcursorenterfun","","",null,null],[6,"GLFWscrollfun","","",null,null],[6,"GLFWkeyfun","","",null,null],[6,"GLFWcharfun","","",null,null],[6,"GLFWcharmodsfun","","",null,null],[6,"GLFWdropfun","","",null,null],[6,"GLFWmonitorfun","","",null,null],[17,"FALSE","","",null,null],[17,"TRUE","","",null,null],[17,"RELEASE","","",null,null],[17,"PRESS","","",null,null],[17,"REPEAT","","",null,null],[17,"KEY_SPACE","","",null,null],[17,"KEY_APOSTROPHE","","",null,null],[17,"KEY_COMMA","","",null,null],[17,"KEY_MINUS","","",null,null],[17,"KEY_PERIOD","","",null,null],[17,"KEY_SLASH","","",null,null],[17,"KEY_0","","",null,null],[17,"KEY_1","","",null,null],[17,"KEY_2","","",null,null],[17,"KEY_3","","",null,null],[17,"KEY_4","","",null,null],[17,"KEY_5","","",null,null],[17,"KEY_6","","",null,null],[17,"KEY_7","","",null,null],[17,"KEY_8","","",null,null],[17,"KEY_9","","",null,null],[17,"KEY_SEMICOLON","","",null,null],[17,"KEY_EQUAL","","",null,null],[17,"KEY_A","","",null,null],[17,"KEY_B","","",null,null],[17,"KEY_C","","",null,null],[17,"KEY_D","","",null,null],[17,"KEY_E","","",null,null],[17,"KEY_F","","",null,null],[17,"KEY_G","","",null,null],[17,"KEY_H","","",null,null],[17,"KEY_I","","",null,null],[17,"KEY_J","","",null,null],[17,"KEY_K","","",null,null],[17,"KEY_L","","",null,null],[17,"KEY_M","","",null,null],[17,"KEY_N","","",null,null],[17,"KEY_O","","",null,null],[17,"KEY_P","","",null,null],[17,"KEY_Q","","",null,null],[17,"KEY_R","","",null,null],[17,"KEY_S","","",null,null],[17,"KEY_T","","",null,null],[17,"KEY_U","","",null,null],[17,"KEY_V","","",null,null],[17,"KEY_W","","",null,null],[17,"KEY_X","","",null,null],[17,"KEY_Y","","",null,null],[17,"KEY_Z","","",null,null],[17,"KEY_LEFT_BRACKET","","",null,null],[17,"KEY_BACKSLASH","","",null,null],[17,"KEY_RIGHT_BRACKET","","",null,null],[17,"KEY_GRAVE_ACCENT","","",null,null],[17,"KEY_WORLD_1","","",null,null],[17,"KEY_WORLD_2","","",null,null],[17,"KEY_ESCAPE","","",null,null],[17,"KEY_ENTER","","",null,null],[17,"KEY_TAB","","",null,null],[17,"KEY_BACKSPACE","","",null,null],[17,"KEY_INSERT","","",null,null],[17,"KEY_DELETE","","",null,null],[17,"KEY_RIGHT","","",null,null],[17,"KEY_LEFT","","",null,null],[17,"KEY_DOWN","","",null,null],[17,"KEY_UP","","",null,null],[17,"KEY_PAGE_UP","","",null,null],[17,"KEY_PAGE_DOWN","","",null,null],[17,"KEY_HOME","","",null,null],[17,"KEY_END","","",null,null],[17,"KEY_CAPS_LOCK","","",null,null],[17,"KEY_SCROLL_LOCK","","",null,null],[17,"KEY_NUM_LOCK","","",null,null],[17,"KEY_PRINT_SCREEN","","",null,null],[17,"KEY_PAUSE","","",null,null],[17,"KEY_F1","","",null,null],[17,"KEY_F2","","",null,null],[17,"KEY_F3","","",null,null],[17,"KEY_F4","","",null,null],[17,"KEY_F5","","",null,null],[17,"KEY_F6","","",null,null],[17,"KEY_F7","","",null,null],[17,"KEY_F8","","",null,null],[17,"KEY_F9","","",null,null],[17,"KEY_F10","","",null,null],[17,"KEY_F11","","",null,null],[17,"KEY_F12","","",null,null],[17,"KEY_F13","","",null,null],[17,"KEY_F14","","",null,null],[17,"KEY_F15","","",null,null],[17,"KEY_F16","","",null,null],[17,"KEY_F17","","",null,null],[17,"KEY_F18","","",null,null],[17,"KEY_F19","","",null,null],[17,"KEY_F20","","",null,null],[17,"KEY_F21","","",null,null],[17,"KEY_F22","","",null,null],[17,"KEY_F23","","",null,null],[17,"KEY_F24","","",null,null],[17,"KEY_F25","","",null,null],[17,"KEY_KP_0","","",null,null],[17,"KEY_KP_1","","",null,null],[17,"KEY_KP_2","","",null,null],[17,"KEY_KP_3","","",null,null],[17,"KEY_KP_4","","",null,null],[17,"KEY_KP_5","","",null,null],[17,"KEY_KP_6","","",null,null],[17,"KEY_KP_7","","",null,null],[17,"KEY_KP_8","","",null,null],[17,"KEY_KP_9","","",null,null],[17,"KEY_KP_DECIMAL","","",null,null],[17,"KEY_KP_DIVIDE","","",null,null],[17,"KEY_KP_MULTIPLY","","",null,null],[17,"KEY_KP_SUBTRACT","","",null,null],[17,"KEY_KP_ADD","","",null,null],[17,"KEY_KP_ENTER","","",null,null],[17,"KEY_KP_EQUAL","","",null,null],[17,"KEY_LEFT_SHIFT","","",null,null],[17,"KEY_LEFT_CONTROL","","",null,null],[17,"KEY_LEFT_ALT","","",null,null],[17,"KEY_LEFT_SUPER","","",null,null],[17,"KEY_RIGHT_SHIFT","","",null,null],[17,"KEY_RIGHT_CONTROL","","",null,null],[17,"KEY_RIGHT_ALT","","",null,null],[17,"KEY_RIGHT_SUPER","","",null,null],[17,"KEY_MENU","","",null,null],[17,"KEY_LAST","","",null,null],[17,"MOD_SHIFT","","",null,null],[17,"MOD_CONTROL","","",null,null],[17,"MOD_ALT","","",null,null],[17,"MOD_SUPER","","",null,null],[17,"JOYSTICK_1","","",null,null],[17,"JOYSTICK_2","","",null,null],[17,"JOYSTICK_3","","",null,null],[17,"JOYSTICK_4","","",null,null],[17,"JOYSTICK_5","","",null,null],[17,"JOYSTICK_6","","",null,null],[17,"JOYSTICK_7","","",null,null],[17,"JOYSTICK_8","","",null,null],[17,"JOYSTICK_9","","",null,null],[17,"JOYSTICK_10","","",null,null],[17,"JOYSTICK_11","","",null,null],[17,"JOYSTICK_12","","",null,null],[17,"JOYSTICK_13","","",null,null],[17,"JOYSTICK_14","","",null,null],[17,"JOYSTICK_15","","",null,null],[17,"JOYSTICK_16","","",null,null],[17,"JOYSTICK_LAST","","",null,null],[17,"MOUSE_BUTTON_1","","",null,null],[17,"MOUSE_BUTTON_2","","",null,null],[17,"MOUSE_BUTTON_3","","",null,null],[17,"MOUSE_BUTTON_4","","",null,null],[17,"MOUSE_BUTTON_5","","",null,null],[17,"MOUSE_BUTTON_6","","",null,null],[17,"MOUSE_BUTTON_7","","",null,null],[17,"MOUSE_BUTTON_8","","",null,null],[17,"MOUSE_BUTTON_LEFT","","",null,null],[17,"MOUSE_BUTTON_RIGHT","","",null,null],[17,"MOUSE_BUTTON_MIDDLE","","",null,null],[17,"MOUSE_BUTTON_LAST","","",null,null],[17,"NOT_INITIALIZED","","",null,null],[17,"NO_CURRENT_CONTEXT","","",null,null],[17,"INVALID_ENUM","","",null,null],[17,"INVALID_VALUE","","",null,null],[17,"OUT_OF_MEMORY","","",null,null],[17,"API_UNAVAILABLE","","",null,null],[17,"VERSION_UNAVAILABLE","","",null,null],[17,"PLATFORM_ERROR","","",null,null],[17,"FORMAT_UNAVAILABLE","","",null,null],[17,"FOCUSED","","",null,null],[17,"ICONIFIED","","",null,null],[17,"RESIZABLE","","",null,null],[17,"VISIBLE","","",null,null],[17,"DECORATED","","",null,null],[17,"AUTO_ICONIFY","","",null,null],[17,"FLOATING","","",null,null],[17,"RED_BITS","","",null,null],[17,"GREEN_BITS","","",null,null],[17,"BLUE_BITS","","",null,null],[17,"ALPHA_BITS","","",null,null],[17,"DEPTH_BITS","","",null,null],[17,"STENCIL_BITS","","",null,null],[17,"ACCUM_RED_BITS","","",null,null],[17,"ACCUM_GREEN_BITS","","",null,null],[17,"ACCUM_BLUE_BITS","","",null,null],[17,"ACCUM_ALPHA_BITS","","",null,null],[17,"AUX_BUFFERS","","",null,null],[17,"STEREO","","",null,null],[17,"SAMPLES","","",null,null],[17,"SRGB_CAPABLE","","",null,null],[17,"REFRESH_RATE","","",null,null],[17,"DOUBLEBUFFER","","",null,null],[17,"CLIENT_API","","",null,null],[17,"CONTEXT_VERSION_MAJOR","","",null,null],[17,"CONTEXT_VERSION_MINOR","","",null,null],[17,"CONTEXT_REVISION","","",null,null],[17,"CONTEXT_ROBUSTNESS","","",null,null],[17,"OPENGL_FORWARD_COMPAT","","",null,null],[17,"OPENGL_DEBUG_CONTEXT","","",null,null],[17,"OPENGL_PROFILE","","",null,null],[17,"CONTEXT_RELEASE_BEHAVIOR","","",null,null],[17,"OPENGL_API","","",null,null],[17,"OPENGL_ES_API","","",null,null],[17,"NO_ROBUSTNESS","","",null,null],[17,"NO_RESET_NOTIFICATION","","",null,null],[17,"LOSE_CONTEXT_ON_RESET","","",null,null],[17,"OPENGL_ANY_PROFILE","","",null,null],[17,"OPENGL_CORE_PROFILE","","",null,null],[17,"OPENGL_COMPAT_PROFILE","","",null,null],[17,"CURSOR","","",null,null],[17,"STICKY_KEYS","","",null,null],[17,"STICKY_MOUSE_BUTTONS","","",null,null],[17,"CURSOR_NORMAL","","",null,null],[17,"CURSOR_HIDDEN","","",null,null],[17,"CURSOR_DISABLED","","",null,null],[17,"ANY_RELEASE_BEHAVIOR","","",null,null],[17,"RELEASE_BEHAVIOR_FLUSH","","",null,null],[17,"RELEASE_BEHAVIOR_NONE","","",null,null],[17,"ARROW_CURSOR","","",null,null],[17,"IBEAM_CURSOR","","",null,null],[17,"CROSSHAIR_CURSOR","","",null,null],[17,"HAND_CURSOR","","",null,null],[17,"HRESIZE_CURSOR","","",null,null],[17,"VRESIZE_CURSOR","","",null,null],[17,"CONNECTED","","",null,null],[17,"DISCONNECTED","","",null,null],[17,"DONT_CARE","","",null,null],[11,"clone","","",20,null],[6,"ErrorCallback","glfw","An error callback. This can be supplied with some user data to be passed to\nthe callback function when it is triggered.",null,null],[6,"GLProc","","An OpenGL process address.",null,null],[6,"MonitorCallback","","An monitor callback. This can be supplied with some user data to be passed\nto the callback function when it is triggered.",null,null],[6,"Scancode","","",null,null],[7,"FAIL_ON_ERRORS","","A callback that triggers a task failure when an error is encountered.",null,null],[7,"LOG_ERRORS","","A callback that logs each error as it is encountered without triggering a\ntask failure.",null,null],[17,"Shift","","",null,null],[17,"Control","","",null,null],[17,"Alt","","",null,null],[17,"Super","","",null,null],[8,"Context","","Methods common to renderable contexts",null,null],[10,"window_ptr","","Returns the pointer to the underlying `GLFWwindow`.",23,null],[11,"swap_buffers","","Swaps the front and back buffers of the window. If the swap interval is\ngreater than zero, the GPU driver waits the specified number of screen\nupdates before swapping the buffers.",23,null],[11,"is_current","","Returns `true` if the window is the current context.",23,null],[11,"make_current","","Wrapper for `glfwMakeContextCurrent`",23,null],[11,"fmt","","",6,null],[11,"hash","","",6,null],[11,"partial_cmp","","",6,null],[11,"cmp","","",6,null],[11,"eq","","",6,null],[11,"clone","","",6,null],[11,"fmt","","",7,null],[11,"hash","","",7,null],[11,"partial_cmp","","",7,null],[11,"cmp","","",7,null],[11,"eq","","",7,null],[11,"clone","","",7,null],[11,"from_i64","","",7,{"inputs":[{"name":"i64"}],"output":{"name":"option"}}],[11,"from_u64","","",7,{"inputs":[{"name":"u64"}],"output":{"name":"option"}}],[11,"fmt","","",8,null],[11,"hash","","",8,null],[11,"partial_cmp","","",8,null],[11,"cmp","","",8,null],[11,"eq","","",8,null],[11,"clone","","",8,null],[11,"from_i64","","",8,{"inputs":[{"name":"i64"}],"output":{"name":"option"}}],[11,"from_u64","","",8,{"inputs":[{"name":"u64"}],"output":{"name":"option"}}],[11,"fmt","","",0,null],[11,"clone","","",1,null],[11,"fmt","","",9,null],[11,"hash","","",9,null],[11,"partial_cmp","","",9,null],[11,"cmp","","",9,null],[11,"eq","","",9,null],[11,"clone","","",9,null],[11,"fmt","","",10,null],[11,"hash","","",10,null],[11,"partial_cmp","","",10,null],[11,"cmp","","",10,null],[11,"eq","","",10,null],[11,"clone","","",10,null],[11,"clone","","",2,null],[11,"clone","","",24,null],[11,"fmt","","",11,null],[11,"hash","","",11,null],[11,"partial_cmp","","",11,null],[11,"cmp","","",11,null],[11,"eq","","",11,null],[11,"clone","","",11,null],[11,"fmt","","",11,null],[11,"set_error_callback","","Sets the error callback, overwriting the previous one stored.",24,null],[11,"set_monitor_callback","","Sets the monitor callback, overwriting the previous one stored.",24,null],[11,"with_primary_monitor","","Supplies the primary monitor to the closure provided, if it exists.\nThis is usually the monitor where elements like the Windows task bar or\nthe OS X menu bar is located.",24,null],[11,"with_connected_monitors","","Supplies a vector of the currently connected monitors to the closure\nprovided.",24,null],[11,"window_hint","","This is used to set the window hints for the next call to\n`Glfw::create_window`. The hints can be reset to their default values\nusing calling the `Glfw::default_window_hints` function.",24,null],[11,"default_window_hints","","Resets the window hints previously set by the `window_hint` function to\ntheir default values.",24,null],[11,"create_window","","Creates a new window.",24,null],[11,"make_context_current","","Makes the context of the specified window current. If no window is given\nthen the current context is detached.",24,null],[11,"get_x11_display","","Wrapper for `glfwGetX11Display`",24,null],[11,"poll_events","","Immediately process the received events.",24,null],[11,"wait_events","","Sleep until at least one event has been recieved, and then perform the\nequivalent of `Glfw::poll_events`.",24,null],[11,"get_time","","Returns the current value of the GLFW timer. Unless the timer has been\nset using `glfw::set_time`, the timer measures time elapsed since GLFW\nwas initialized.",24,null],[11,"set_time","","Sets the value of the GLFW timer.",24,null],[11,"set_swap_interval","","Sets the number of screen updates to wait before swapping the buffers of\nthe current context and returning from `Window::swap_buffers`.",24,null],[11,"extension_supported","","Returns `true` if the specified OpenGL or context creation API extension\nis supported by the current context.",24,null],[11,"get_proc_address_raw","","Returns the address of the specified client API or extension function if\nit is supported by the current context, NULL otherwise.",24,null],[11,"get_joystick","","Constructs a `Joystick` handle corresponding to the supplied `JoystickId`.",24,null],[11,"fmt","","",25,null],[11,"get_pos","","Wrapper for `glfwGetMonitorPos`.",25,null],[11,"get_physical_size","","Wrapper for `glfwGetMonitorPhysicalSize`.",25,null],[11,"get_name","","Wrapper for `glfwGetMonitorName`.",25,null],[11,"get_video_modes","","Wrapper for `glfwGetVideoModes`.",25,null],[11,"get_video_mode","","Wrapper for `glfwGetVideoMode`.",25,null],[11,"set_gamma","","Wrapper for `glfwSetGamma`.",25,null],[11,"get_gamma_ramp","","Wrapper for `glfwGetGammaRamp`.",25,null],[11,"set_gamma_ramp","","Wrapper for `glfwSetGammaRamp`.",25,null],[11,"fmt","","",12,null],[11,"hash","","",12,null],[11,"partial_cmp","","",12,null],[11,"cmp","","",12,null],[11,"eq","","",12,null],[11,"clone","","",12,null],[11,"fmt","","Returns a string representation of the video mode.",2,null],[11,"fmt","","",13,null],[11,"hash","","",13,null],[11,"partial_cmp","","",13,null],[11,"lt","","",13,null],[11,"le","","",13,null],[11,"gt","","",13,null],[11,"ge","","",13,null],[11,"cmp","","",13,null],[11,"eq","","",13,null],[11,"ne","","",13,null],[11,"clone","","",13,null],[11,"fmt","","",14,null],[11,"hash","","",14,null],[11,"partial_cmp","","",14,null],[11,"cmp","","",14,null],[11,"eq","","",14,null],[11,"clone","","",14,null],[11,"fmt","","",15,null],[11,"hash","","",15,null],[11,"partial_cmp","","",15,null],[11,"cmp","","",15,null],[11,"eq","","",15,null],[11,"clone","","",15,null],[11,"fmt","","",16,null],[11,"hash","","",16,null],[11,"partial_cmp","","",16,null],[11,"cmp","","",16,null],[11,"eq","","",16,null],[11,"clone","","",16,null],[11,"fmt","","",17,null],[11,"clone","","",17,null],[11,"hash","","",26,null],[11,"cmp","","",26,null],[11,"partial_cmp","","",26,null],[11,"lt","","",26,null],[11,"le","","",26,null],[11,"gt","","",26,null],[11,"ge","","",26,null],[11,"clone","","",26,null],[11,"eq","","",26,null],[11,"ne","","",26,null],[11,"fmt","","",26,null],[11,"empty","","Returns an empty set of flags.",26,{"inputs":[],"output":{"name":"modifiers"}}],[11,"all","","Returns the set containing all flags.",26,{"inputs":[],"output":{"name":"modifiers"}}],[11,"bits","","Returns the raw value of the flags currently stored.",26,null],[11,"from_bits","","Convert from underlying bit representation, unless that\nrepresentation contains bits that do not correspond to a flag.",26,{"inputs":[{"name":"c_int"}],"output":{"name":"option"}}],[11,"from_bits_truncate","","Convert from underlying bit representation, dropping any bits\nthat do not correspond to flags.",26,{"inputs":[{"name":"c_int"}],"output":{"name":"modifiers"}}],[11,"is_empty","","Returns `true` if no flags are currently stored.",26,null],[11,"is_all","","Returns `true` if all flags are currently set.",26,null],[11,"intersects","","Returns `true` if there are flags common to both `self` and `other`.",26,null],[11,"contains","","Returns `true` all of the flags in `other` are contained within `self`.",26,null],[11,"insert","","Inserts the specified flags in-place.",26,null],[11,"remove","","Removes the specified flags in-place.",26,null],[11,"toggle","","Toggles the specified flags in-place.",26,null],[11,"bitor","","Returns the union of the two sets of flags.",26,null],[11,"bitxor","","Returns the left flags, but with all the right flags toggled.",26,null],[11,"bitand","","Returns the intersection between the two sets of flags.",26,null],[11,"sub","","Returns the set difference of the two sets of flags.",26,null],[11,"not","","Returns the complement of this set of flags.",26,null],[11,"from_iter","","",26,{"inputs":[{"name":"t"}],"output":{"name":"modifiers"}}],[11,"fmt","","",18,null],[11,"partial_cmp","","",18,null],[11,"lt","","",18,null],[11,"le","","",18,null],[11,"gt","","",18,null],[11,"ge","","",18,null],[11,"eq","","",18,null],[11,"ne","","",18,null],[11,"clone","","",18,null],[11,"next","","",27,null],[11,"get_proc_address","","Returns the address of the specified client API or extension function if\nit is supported by the context associated with this Window. If this Window is not the\ncurrent context, it will make it the current context.",4,null],[11,"create_shared","","Wrapper for `glfwCreateWindow`.",4,null],[11,"close","","Calling this method forces the destructor to be called, closing the\nwindow.",4,null],[11,"render_context","","Returns a render context that can be shared between tasks, allowing\nfor concurrent rendering.",4,null],[11,"should_close","","Wrapper for `glfwWindowShouldClose`.",4,null],[11,"set_should_close","","Wrapper for `glfwSetWindowShouldClose`.",4,null],[11,"set_title","","Sets the title of the window.",4,null],[11,"get_pos","","Wrapper for `glfwGetWindowPos`.",4,null],[11,"set_pos","","Wrapper for `glfwSetWindowPos`.",4,null],[11,"get_size","","Wrapper for `glfwGetWindowSize`.",4,null],[11,"set_size","","Wrapper for `glfwSetWindowSize`.",4,null],[11,"get_framebuffer_size","","Wrapper for `glfwGetFramebufferSize`.",4,null],[11,"iconify","","Wrapper for `glfwIconifyWindow`.",4,null],[11,"restore","","Wrapper for `glfwRestoreWindow`.",4,null],[11,"show","","Wrapper for `glfwShowWindow`.",4,null],[11,"hide","","Wrapper for `glfwHideWindow`.",4,null],[11,"with_window_mode","","Returns whether the window is fullscreen or windowed.",4,null],[11,"is_focused","","Wrapper for `glfwGetWindowAttrib` called with `FOCUSED`.",4,null],[11,"is_iconified","","Wrapper for `glfwGetWindowAttrib` called with `ICONIFIED`.",4,null],[11,"get_client_api","","Wrapper for `glfwGetWindowAttrib` called with `CLIENT_API`.",4,null],[11,"get_context_version","","Wrapper for `glfwGetWindowAttrib` called with\n`CONTEXT_VERSION_MAJOR`, `CONTEXT_VERSION_MINOR` and `CONTEXT_REVISION`.",4,null],[11,"get_context_robustness","","Wrapper for `glfwGetWindowAttrib` called with `CONTEXT_ROBUSTNESS`.",4,null],[11,"is_opengl_forward_compat","","Wrapper for `glfwGetWindowAttrib` called with `OPENGL_FORWARD_COMPAT`.",4,null],[11,"is_opengl_debug_context","","Wrapper for `glfwGetWindowAttrib` called with `OPENGL_DEBUG_CONTEXT`.",4,null],[11,"get_opengl_profile","","Wrapper for `glfwGetWindowAttrib` called with `OPENGL_PROFILE`.",4,null],[11,"is_resizable","","Wrapper for `glfwGetWindowAttrib` called with `RESIZABLE`.",4,null],[11,"is_visible","","Wrapper for `glfwGetWindowAttrib` called with `VISIBLE`.",4,null],[11,"is_decorated","","Wrapper for `glfwGetWindowAttrib` called with `DECORATED`.",4,null],[11,"set_pos_polling","","Wrapper for `glfwSetWindowPosCallback`.",4,null],[11,"set_all_polling","","",4,null],[11,"set_size_polling","","Wrapper for `glfwSetWindowSizeCallback`.",4,null],[11,"set_close_polling","","Wrapper for `glfwSetWindowCloseCallback`.",4,null],[11,"set_refresh_polling","","Wrapper for `glfwSetWindowRefreshCallback`.",4,null],[11,"set_focus_polling","","Wrapper for `glfwSetWindowFocusCallback`.",4,null],[11,"set_iconify_polling","","Wrapper for `glfwSetWindowIconifyCallback`.",4,null],[11,"set_framebuffer_size_polling","","Wrapper for `glfwSetFramebufferSizeCallback`.",4,null],[11,"get_cursor_mode","","Wrapper for `glfwGetInputMode` called with `CURSOR`.",4,null],[11,"set_cursor_mode","","Wrapper for `glfwSetInputMode` called with `CURSOR`.",4,null],[11,"has_sticky_keys","","Wrapper for `glfwGetInputMode` called with `STICKY_KEYS`.",4,null],[11,"set_sticky_keys","","Wrapper for `glfwSetInputMode` called with `STICKY_KEYS`.",4,null],[11,"has_sticky_mouse_buttons","","Wrapper for `glfwGetInputMode` called with `STICKY_MOUSE_BUTTONS`.",4,null],[11,"set_sticky_mouse_buttons","","Wrapper for `glfwSetInputMode` called with `STICKY_MOUSE_BUTTONS`.",4,null],[11,"get_key","","Wrapper for `glfwGetKey`.",4,null],[11,"get_mouse_button","","Wrapper for `glfwGetMouseButton`.",4,null],[11,"get_cursor_pos","","Wrapper for `glfwGetCursorPos`.",4,null],[11,"set_cursor_pos","","Wrapper for `glfwSetCursorPos`.",4,null],[11,"set_key_polling","","Wrapper for `glfwSetKeyCallback`.",4,null],[11,"set_char_polling","","Wrapper for `glfwSetCharCallback`.",4,null],[11,"set_mouse_button_polling","","Wrapper for `glfwSetMouseButtonCallback`.",4,null],[11,"set_cursor_pos_polling","","Wrapper for `glfwSetCursorPosCallback`.",4,null],[11,"set_cursor_enter_polling","","Wrapper for `glfwSetCursorEnterCallback`.",4,null],[11,"set_scroll_polling","","Wrapper for `glfwSetScrollCallback`.",4,null],[11,"set_clipboard_string","","Wrapper for `glfwGetClipboardString`.",4,null],[11,"get_clipboard_string","","Wrapper for `glfwGetClipboardString`.",4,null],[11,"get_x11_window","","Wrapper for `glfwGetX11Window`",4,null],[11,"get_glx_context","","Wrapper for `glfwGetGLXContext`",4,null],[11,"drop","","Closes the window and performs the necessary cleanups. This will block\nuntil all associated `RenderContext`s were also dropped, and emit a\n`debug!` message to that effect.",4,null],[11,"window_ptr","","",4,null],[11,"window_ptr","","",28,null],[11,"fmt","","",19,null],[11,"hash","","",19,null],[11,"partial_cmp","","",19,null],[11,"cmp","","",19,null],[11,"eq","","",19,null],[11,"clone","","",19,null],[11,"from_i64","","",19,{"inputs":[{"name":"i64"}],"output":{"name":"option"}}],[11,"from_u64","","",19,{"inputs":[{"name":"u64"}],"output":{"name":"option"}}],[11,"clone","","",5,null],[11,"is_present","","Wrapper for `glfwJoystickPresent`.",5,null],[11,"get_axes","","Wrapper for `glfwGetJoystickAxes`.",5,null],[11,"get_buttons","","Wrapper for `glfwGetJoystickButtons`.",5,null],[11,"get_name","","Wrapper for `glfwGetJoystickName`.",5,null]],"paths":[[3,"DebugAliases"],[3,"Callback"],[3,"VidMode"],[3,"GammaRamp"],[3,"Window"],[3,"Joystick"],[4,"Action"],[4,"Key"],[4,"MouseButton"],[4,"Error"],[4,"CursorMode"],[4,"InitError"],[4,"MonitorEvent"],[4,"WindowHint"],[4,"ClientApiHint"],[4,"ContextRobustnessHint"],[4,"OpenGlProfileHint"],[4,"WindowMode"],[4,"WindowEvent"],[4,"JoystickId"],[3,"GLFWgammaramp"],[3,"GLFWvidmode"],[3,"GLFWimage"],[8,"Context"],[3,"Glfw"],[3,"Monitor"],[3,"Modifiers"],[3,"FlushedMessages"],[3,"RenderContext"]]}; initSearch(searchIndex);