var searchIndex = {}; searchIndex["glutin"] = {"doc":"The purpose of this library is to provide an OpenGL context on as many\n platforms as possible.","items":[[3,"Touch","glutin","Represents touch event",null,null],[12,"phase","","",0,null],[12,"location","","",0,null],[12,"id","","unique identifier of a finger.",0,null],[3,"HeadlessRendererBuilder","","Object that allows you to build headless contexts.",null,null],[12,"dimensions","","The dimensions to use.",1,null],[12,"opengl","","The OpenGL attributes to build the context with.",1,null],[3,"HeadlessContext","","Represents a headless OpenGL context.",null,null],[3,"WindowProxy","","Represents a thread safe subset of operations that can be called\non a window. This structure can be safely cloned and sent between\nthreads.",null,null],[3,"PollEventsIterator","","An iterator for the `poll_events` function.",null,null],[3,"WaitEventsIterator","","An iterator for the `wait_events` function.",null,null],[3,"AvailableMonitorsIter","","An iterator for the list of available monitors.",null,null],[3,"MonitorId","","Identifier for a monitor.",null,null],[3,"Window","","Represents an OpenGL context and the Window or environment around it.",null,null],[3,"WindowBuilder","","Object that allows you to build windows.",null,null],[12,"window","","The attributes to use to create the window.",2,null],[12,"opengl","","The attributes to use to create the context.",2,null],[3,"PixelFormat","","Describes a possible format. Unused.",null,null],[12,"hardware_accelerated","","",3,null],[12,"color_bits","","",3,null],[12,"alpha_bits","","",3,null],[12,"depth_bits","","",3,null],[12,"stencil_bits","","",3,null],[12,"stereoscopy","","",3,null],[12,"double_buffer","","",3,null],[12,"multisampling","","",3,null],[12,"srgb","","",3,null],[3,"PixelFormatRequirements","","Describes how the backend should choose a pixel format.",null,null],[12,"hardware_accelerated","","If true, only hardware-accelerated formats will be conisdered. If false, only software\nrenderers. `None` means "don't care". Default is `Some(true)`.",4,null],[12,"color_bits","","Minimum number of bits for the color buffer, excluding alpha. `None` means "don't care".\nThe default is `Some(24)`.",4,null],[12,"float_color_buffer","","If true, the color buffer must be in a floating point format. Default is `false`.",4,null],[12,"alpha_bits","","Minimum number of bits for the alpha in the color buffer. `None` means "don't care".\nThe default is `Some(8)`.",4,null],[12,"depth_bits","","Minimum number of bits for the depth buffer. `None` means "don't care".\nThe default value is `Some(24)`.",4,null],[12,"stencil_bits","","Minimum number of bits for the depth buffer. `None` means "don't care".\nThe default value is `Some(8)`.",4,null],[12,"double_buffer","","If true, only double-buffered formats will be considered. If false, only single-buffer\nformats. `None` means "don't care". The default is `Some(true)`.",4,null],[12,"multisampling","","Contains the minimum number of samples per pixel in the color, depth and stencil buffers.\n`None` means "don't care". Default is `None`.\nA value of `Some(0)` indicates that multisampling must not be enabled.",4,null],[12,"stereoscopy","","If true, only stereoscopic formats will be considered. If false, only non-stereoscopic\nformats. The default is `false`.",4,null],[12,"srgb","","If true, only sRGB-capable formats will be considered. If false, don't care.\nThe default is `false`.",4,null],[12,"release_behavior","","The behavior when changing the current context. Default is `Flush`.",4,null],[3,"WindowID","","A wrapper for a native window pointer.",null,null],[12,"window","","",5,null],[3,"WindowAttributes","","Attributes to use when creating a window.",null,null],[12,"dimensions","","The dimensions of the window. If this is `None`, some platform-specific dimensions will be\nused.",6,null],[12,"min_dimensions","","The minimum dimensions a window can be, If this is `None`, the window will have no minimum dimensions (aside from reserved).",6,null],[12,"max_dimensions","","The maximum dimensions a window can be, If this is `None`, the maximum will have no maximum or will be set to the primary monitor's dimensions by the platform.",6,null],[12,"monitor","","If `Some`, the window will be in fullscreen mode with the given monitor.",6,null],[12,"title","","The title of the window in the title bar.",6,null],[12,"visible","","Whether the window should be immediately visible upon creation.",6,null],[12,"transparent","","Whether the the window should be transparent. If this is true, writing colors\nwith alpha values different than `1.0` will produce a transparent window.",6,null],[12,"decorations","","Whether the window should have borders and bars.",6,null],[12,"multitouch","","[iOS only] Enable multitouch, see [UIView#multipleTouchEnabled]\n(https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIView_Class/#//apple_ref/occ/instp/UIView/multipleTouchEnabled)",6,null],[12,"icon","","A path to an icon for the window. This may not be supported on every windowing system.\nIf present, this path must reference a PNG file.",6,null],[12,"parent","","Parent Window.",6,null],[3,"GlAttributes","","Attributes to use when creating an OpenGL context.",null,null],[12,"sharing","","An existing context to share the new the context with.",7,null],[12,"version","","Version to try create. See `GlRequest` for more infos.",7,null],[12,"profile","","OpenGL profile to use.",7,null],[12,"debug","","Whether to enable the `debug` flag of the context.",7,null],[12,"robustness","","How the OpenGL context should detect errors.",7,null],[12,"vsync","","Whether to use vsync. If vsync is enabled, calling `swap_buffers` will block until the\nscreen refreshes. This is typically used to prevent screen tearing.",7,null],[4,"Event","","",null,null],[13,"Resized","","The size of the window has changed.",8,null],[13,"Moved","","The position of the window has changed.",8,null],[13,"Closed","","The window has been closed.",8,null],[13,"DroppedFile","","A file has been dropped into the window.",8,null],[13,"ReceivedCharacter","","The window received a unicode character.",8,null],[13,"Focused","","The window gained or lost focus.",8,null],[13,"KeyboardInput","","An event from the keyboard has been received.",8,null],[13,"MouseMoved","","The cursor has moved on the window.",8,null],[13,"MouseWheel","","A mouse wheel movement or touchpad scroll occurred.",8,null],[13,"MouseInput","","An event from the mouse has been received.",8,null],[13,"TouchpadPressure","","Touchpad pressure event.",8,null],[13,"Awakened","","The event loop was woken up by another thread.",8,null],[13,"Refresh","","The window needs to be redrawn.",8,null],[13,"Suspended","","App has been suspended or resumed.",8,null],[13,"Touch","","Touch event has been received",8,null],[4,"TouchPhase","","",null,null],[13,"Started","","",9,null],[13,"Moved","","",9,null],[13,"Ended","","",9,null],[13,"Cancelled","","",9,null],[4,"ElementState","","",null,null],[13,"Pressed","","",10,null],[13,"Released","","",10,null],[4,"MouseButton","","",null,null],[13,"Left","","",11,null],[13,"Right","","",11,null],[13,"Middle","","",11,null],[13,"Other","","",11,null],[4,"MouseScrollDelta","","",null,null],[13,"LineDelta","","Amount in lines or rows to scroll in the horizontal\nand vertical directions.",12,null],[13,"PixelDelta","","Amount in pixels to scroll in the horizontal and\nvertical direction.",12,null],[4,"VirtualKeyCode","","",null,null],[13,"Key1","","The '1' key over the letters.",13,null],[13,"Key2","","The '2' key over the letters.",13,null],[13,"Key3","","The '3' key over the letters.",13,null],[13,"Key4","","The '4' key over the letters.",13,null],[13,"Key5","","The '5' key over the letters.",13,null],[13,"Key6","","The '6' key over the letters.",13,null],[13,"Key7","","The '7' key over the letters.",13,null],[13,"Key8","","The '8' key over the letters.",13,null],[13,"Key9","","The '9' key over the letters.",13,null],[13,"Key0","","The '0' key over the 'O' and 'P' keys.",13,null],[13,"A","","",13,null],[13,"B","","",13,null],[13,"C","","",13,null],[13,"D","","",13,null],[13,"E","","",13,null],[13,"F","","",13,null],[13,"G","","",13,null],[13,"H","","",13,null],[13,"I","","",13,null],[13,"J","","",13,null],[13,"K","","",13,null],[13,"L","","",13,null],[13,"M","","",13,null],[13,"N","","",13,null],[13,"O","","",13,null],[13,"P","","",13,null],[13,"Q","","",13,null],[13,"R","","",13,null],[13,"S","","",13,null],[13,"T","","",13,null],[13,"U","","",13,null],[13,"V","","",13,null],[13,"W","","",13,null],[13,"X","","",13,null],[13,"Y","","",13,null],[13,"Z","","",13,null],[13,"Escape","","The Escape key, next to F1.",13,null],[13,"F1","","",13,null],[13,"F2","","",13,null],[13,"F3","","",13,null],[13,"F4","","",13,null],[13,"F5","","",13,null],[13,"F6","","",13,null],[13,"F7","","",13,null],[13,"F8","","",13,null],[13,"F9","","",13,null],[13,"F10","","",13,null],[13,"F11","","",13,null],[13,"F12","","",13,null],[13,"F13","","",13,null],[13,"F14","","",13,null],[13,"F15","","",13,null],[13,"Snapshot","","Print Screen/SysRq.",13,null],[13,"Scroll","","Scroll Lock.",13,null],[13,"Pause","","Pause/Break key, next to Scroll lock.",13,null],[13,"Insert","","`Insert`, next to Backspace.",13,null],[13,"Home","","",13,null],[13,"Delete","","",13,null],[13,"End","","",13,null],[13,"PageDown","","",13,null],[13,"PageUp","","",13,null],[13,"Left","","",13,null],[13,"Up","","",13,null],[13,"Right","","",13,null],[13,"Down","","",13,null],[13,"Back","","The Backspace key, right over Enter.",13,null],[13,"Return","","The Enter key.",13,null],[13,"Space","","The space bar.",13,null],[13,"Numlock","","",13,null],[13,"Numpad0","","",13,null],[13,"Numpad1","","",13,null],[13,"Numpad2","","",13,null],[13,"Numpad3","","",13,null],[13,"Numpad4","","",13,null],[13,"Numpad5","","",13,null],[13,"Numpad6","","",13,null],[13,"Numpad7","","",13,null],[13,"Numpad8","","",13,null],[13,"Numpad9","","",13,null],[13,"AbntC1","","",13,null],[13,"AbntC2","","",13,null],[13,"Add","","",13,null],[13,"Apostrophe","","",13,null],[13,"Apps","","",13,null],[13,"At","","",13,null],[13,"Ax","","",13,null],[13,"Backslash","","",13,null],[13,"Calculator","","",13,null],[13,"Capital","","",13,null],[13,"Colon","","",13,null],[13,"Comma","","",13,null],[13,"Convert","","",13,null],[13,"Decimal","","",13,null],[13,"Divide","","",13,null],[13,"Equals","","",13,null],[13,"Grave","","",13,null],[13,"Kana","","",13,null],[13,"Kanji","","",13,null],[13,"LAlt","","",13,null],[13,"LBracket","","",13,null],[13,"LControl","","",13,null],[13,"LMenu","","",13,null],[13,"LShift","","",13,null],[13,"LWin","","",13,null],[13,"Mail","","",13,null],[13,"MediaSelect","","",13,null],[13,"MediaStop","","",13,null],[13,"Minus","","",13,null],[13,"Multiply","","",13,null],[13,"Mute","","",13,null],[13,"MyComputer","","",13,null],[13,"NavigateForward","","",13,null],[13,"NavigateBackward","","",13,null],[13,"NextTrack","","",13,null],[13,"NoConvert","","",13,null],[13,"NumpadComma","","",13,null],[13,"NumpadEnter","","",13,null],[13,"NumpadEquals","","",13,null],[13,"OEM102","","",13,null],[13,"Period","","",13,null],[13,"PlayPause","","",13,null],[13,"Power","","",13,null],[13,"PrevTrack","","",13,null],[13,"RAlt","","",13,null],[13,"RBracket","","",13,null],[13,"RControl","","",13,null],[13,"RMenu","","",13,null],[13,"RShift","","",13,null],[13,"RWin","","",13,null],[13,"Semicolon","","",13,null],[13,"Slash","","",13,null],[13,"Sleep","","",13,null],[13,"Stop","","",13,null],[13,"Subtract","","",13,null],[13,"Sysrq","","",13,null],[13,"Tab","","",13,null],[13,"Underline","","",13,null],[13,"Unlabeled","","",13,null],[13,"VolumeDown","","",13,null],[13,"VolumeUp","","",13,null],[13,"Wake","","",13,null],[13,"WebBack","","",13,null],[13,"WebFavorites","","",13,null],[13,"WebForward","","",13,null],[13,"WebHome","","",13,null],[13,"WebRefresh","","",13,null],[13,"WebSearch","","",13,null],[13,"WebStop","","",13,null],[13,"Yen","","",13,null],[4,"NativeMonitorId","","Native platform identifier for a monitor. Different platforms use fundamentally different types\nto represent a monitor ID.",null,null],[13,"Numeric","","Cocoa and X11 use a numeric identifier to represent a monitor.",14,null],[13,"Name","","Win32 uses a Unicode string to represent a monitor.",14,null],[13,"Unavailable","","Other platforms (Android) don't support monitor identification.",14,null],[4,"CreationError","","Error that can happen while creating a window or a headless renderer.",null,null],[13,"OsError","","",15,null],[13,"NotSupported","","TODO: remove this error",15,null],[13,"NoBackendAvailable","","",15,null],[13,"RobustnessNotSupported","","",15,null],[13,"OpenGlVersionNotSupported","","",15,null],[13,"NoAvailablePixelFormat","","",15,null],[4,"ContextError","","Error that can happen when manipulating an OpenGL context.",null,null],[13,"IoError","","",16,null],[13,"ContextLost","","",16,null],[4,"Api","","All APIs related to OpenGL that you can possibly get while using glutin.",null,null],[13,"OpenGl","","The classical OpenGL. Available on Windows, Linux, OS/X.",17,null],[13,"OpenGlEs","","OpenGL embedded system. Available on Linux, Android.",17,null],[13,"WebGl","","OpenGL for the web. Very similar to OpenGL ES.",17,null],[4,"GlProfile","","Describes the requested OpenGL context profiles.",null,null],[13,"Compatibility","","Include all the immediate more functions and definitions.",18,null],[13,"Core","","Include all the future-compatible functions and definitions.",18,null],[4,"GlRequest","","Describes the OpenGL API and version that are being requested when a context is created.",null,null],[13,"Latest","","Request the latest version of the "best" API of this platform.",19,null],[13,"Specific","","Request a specific version of a specific API.",19,null],[13,"GlThenGles","","If OpenGL is available, create an OpenGL context with the specified `opengl_version`.\nElse if OpenGL ES or WebGL is available, create a context with the\nspecified `opengles_version`.",19,null],[12,"opengl_version","glutin::GlRequest","The version to use for OpenGL.",19,null],[12,"opengles_version","","The version to use for OpenGL ES.",19,null],[4,"Robustness","glutin","Specifies the tolerance of the OpenGL context to faults. If you accept raw OpenGL commands\nand/or raw shader code from an untrusted source, you should definitely care about this.",null,null],[13,"NotRobust","","Not everything is checked. Your application can crash if you do something wrong with your\nshaders.",20,null],[13,"NoError","","The driver doesn't check anything. This option is very dangerous. Please know what you're\ndoing before using it. See the `GL_KHR_no_error` extension.",20,null],[13,"RobustNoResetNotification","","Everything is checked to avoid any crash. The driver will attempt to avoid any problem,\nbut if a problem occurs the behavior is implementation-defined. You are just guaranteed not\nto get a crash.",20,null],[13,"TryRobustNoResetNotification","","Same as `RobustNoResetNotification` but the context creation doesn't fail if it's not\nsupported.",20,null],[13,"RobustLoseContextOnReset","","Everything is checked to avoid any crash. If a problem occurs, the context will enter a\n"context lost" state. It must then be recreated. For the moment, glutin doesn't provide a\nway to recreate a context with the same window :-/",20,null],[13,"TryRobustLoseContextOnReset","","Same as `RobustLoseContextOnReset` but the context creation doesn't fail if it's not\nsupported.",20,null],[4,"ReleaseBehavior","","The behavior of the driver when you change the current context.",null,null],[13,"None","","Doesn't do anything. Most notably doesn't flush.",21,null],[13,"Flush","","Flushes the context that was previously current as if `glFlush` was called.",21,null],[4,"MouseCursor","","",null,null],[13,"Default","","The platform-dependent default cursor.",22,null],[13,"Crosshair","","A simple crosshair.",22,null],[13,"Hand","","A hand (often used to indicate links in web browsers).",22,null],[13,"Arrow","","Self explanatory.",22,null],[13,"Move","","Indicates something is to be moved.",22,null],[13,"Text","","Indicates text that may be selected or edited.",22,null],[13,"Wait","","Program busy indicator.",22,null],[13,"Help","","Help indicator (often rendered as a "?")",22,null],[13,"Progress","","Progress indicator. Shows that processing is being done. But in contrast\nwith "Wait" the user may still interact with the program. Often rendered\nas a spinning beach ball, or an arrow with a watch or hourglass.",22,null],[13,"NotAllowed","","Cursor showing that something cannot be done.",22,null],[13,"ContextMenu","","",22,null],[13,"NoneCursor","","",22,null],[13,"Cell","","",22,null],[13,"VerticalText","","",22,null],[13,"Alias","","",22,null],[13,"Copy","","",22,null],[13,"NoDrop","","",22,null],[13,"Grab","","",22,null],[13,"Grabbing","","",22,null],[13,"AllScroll","","",22,null],[13,"ZoomIn","","",22,null],[13,"ZoomOut","","",22,null],[13,"EResize","","Indicate that some edge is to be moved. For example, the 'SeResize' cursor\nis used when the movement starts from the south-east corner of the box.",22,null],[13,"NResize","","",22,null],[13,"NeResize","","",22,null],[13,"NwResize","","",22,null],[13,"SResize","","",22,null],[13,"SeResize","","",22,null],[13,"SwResize","","",22,null],[13,"WResize","","",22,null],[13,"EwResize","","",22,null],[13,"NsResize","","",22,null],[13,"NeswResize","","",22,null],[13,"NwseResize","","",22,null],[13,"ColResize","","",22,null],[13,"RowResize","","",22,null],[4,"CursorState","","Describes how glutin handles the cursor.",null,null],[13,"Normal","","Normal cursor behavior.",23,null],[13,"Hide","","The cursor will be invisible when over the window.",23,null],[13,"Grab","","Grabs the mouse cursor. The cursor's motion will be confined to this\nwindow and the window has exclusive access to further events regarding\nthe cursor.",23,null],[5,"get_available_monitors","","Returns the list of all available monitors.",null,{"inputs":[],"output":{"name":"availablemonitorsiter"}}],[5,"get_primary_monitor","","Returns the primary monitor of the system.",null,{"inputs":[],"output":{"name":"monitorid"}}],[11,"fmt","","",8,null],[11,"clone","","",8,null],[11,"clone","","",9,null],[11,"eq","","",9,null],[11,"hash","","",9,null],[11,"fmt","","",9,null],[11,"clone","","",0,null],[11,"fmt","","",0,null],[11,"clone","","",10,null],[11,"eq","","",10,null],[11,"hash","","",10,null],[11,"fmt","","",10,null],[11,"clone","","",11,null],[11,"eq","","",11,null],[11,"ne","","",11,null],[11,"hash","","",11,null],[11,"fmt","","",11,null],[11,"eq","","",12,null],[11,"ne","","",12,null],[11,"clone","","",12,null],[11,"fmt","","",12,null],[11,"clone","","",13,null],[11,"eq","","",13,null],[11,"hash","","",13,null],[11,"fmt","","",13,null],[11,"new","","Initializes a new `HeadlessRendererBuilder` with default values.",1,{"inputs":[{"name":"u32"},{"name":"u32"}],"output":{"name":"headlessrendererbuilder"}}],[11,"with_gl","","Sets how the backend should choose the OpenGL API and version.",1,null],[11,"with_gl_debug_flag","","Sets the *debug* flag for the OpenGL context.",1,null],[11,"with_gl_robustness","","Sets the robustness of the OpenGL context. See the docs of `Robustness`.",1,null],[11,"build","","Builds the headless context.",1,null],[11,"build_strict","","Builds the headless context.",1,null],[11,"make_current","","Creates a new OpenGL context\nSets the context as the current context.",24,null],[11,"is_current","","Returns true if this context is the current one in this thread.",24,null],[11,"get_proc_address","","Returns the address of an OpenGL function.",24,null],[11,"get_api","","Returns the API that is currently provided by this window.",24,null],[11,"set_window_resize_callback","","",24,null],[11,"make_current","","",24,null],[11,"is_current","","",24,null],[11,"get_proc_address","","",24,null],[11,"swap_buffers","","",24,null],[11,"get_api","","",24,null],[11,"get_pixel_format","","",24,null],[11,"new","","Initializes a new `WindowBuilder` with default values.",2,{"inputs":[],"output":{"name":"windowbuilder"}}],[11,"with_dimensions","","Requests the window to be of specific dimensions.",2,null],[11,"with_min_dimensions","","Sets a minimum dimension size for the window",2,null],[11,"with_max_dimensions","","Sets a maximum dimension size for the window",2,null],[11,"with_title","","Requests a specific title for the window.",2,null],[11,"with_fullscreen","","Requests fullscreen mode.",2,null],[11,"with_shared_lists","","The created window will share all its OpenGL objects with the window in the parameter.",2,null],[11,"with_gl","","Sets how the backend should choose the OpenGL API and version.",2,null],[11,"with_gl_profile","","Sets the desired OpenGL context profile.",2,null],[11,"with_gl_debug_flag","","Sets the *debug* flag for the OpenGL context.",2,null],[11,"with_gl_robustness","","Sets the robustness of the OpenGL context. See the docs of `Robustness`.",2,null],[11,"with_vsync","","Requests that the window has vsync enabled.",2,null],[11,"with_visibility","","Sets whether the window will be initially hidden or visible.",2,null],[11,"with_multisampling","","Sets the multisampling level to request.",2,null],[11,"with_depth_buffer","","Sets the number of bits in the depth buffer.",2,null],[11,"with_stencil_buffer","","Sets the number of bits in the stencil buffer.",2,null],[11,"with_pixel_format","","Sets the number of bits in the color buffer.",2,null],[11,"with_stereoscopy","","Request the backend to be stereoscopic.",2,null],[11,"with_srgb","","Sets whether sRGB should be enabled on the window. `None` means "I don't care".",2,null],[11,"with_transparency","","Sets whether the background of the window should be transparent.",2,null],[11,"with_decorations","","Sets whether the window should have a border, a title bar, etc.",2,null],[11,"with_multitouch","","Enables multitouch",2,null],[11,"with_icon","","Sets the icon for the window. The supplied path must reference a PNG file.",2,null],[11,"with_parent","","Sets the parent window",2,null],[11,"build","","Builds the window.",2,null],[11,"build_strict","","Builds the window.",2,null],[11,"default","","",25,{"inputs":[],"output":{"name":"window"}}],[11,"new","","Creates a new OpenGL context, and a Window for platforms where this is appropriate.",25,{"inputs":[],"output":{"name":"result"}}],[11,"set_title","","Modifies the title of the window.",25,null],[11,"show","","Shows the window if it was hidden.",25,null],[11,"hide","","Hides the window if it was visible.",25,null],[11,"get_position","","Returns the position of the top-left hand corner of the window relative to the\n top-left hand corner of the desktop.",25,null],[11,"set_position","","Modifies the position of the window.",25,null],[11,"get_inner_size","","Returns the size in points of the client area of the window.",25,null],[11,"get_inner_size_points","","Returns the size in points of the client area of the window.",25,null],[11,"get_inner_size_pixels","","Returns the size in pixels of the client area of the window.",25,null],[11,"get_outer_size","","Returns the size in pixels of the window.",25,null],[11,"set_inner_size","","Modifies the inner size of the window.",25,null],[11,"poll_events","","Returns an iterator that poll for the next event in the window's events queue.\nReturns `None` if there is no event in the queue.",25,null],[11,"wait_events","","Returns an iterator that returns events one by one, blocking if necessary until one is\navailable.",25,null],[11,"make_current","","Sets the context as the current context.",25,null],[11,"is_current","","Returns true if this context is the current one in this thread.",25,null],[11,"get_proc_address","","Returns the address of an OpenGL function.",25,null],[11,"swap_buffers","","Swaps the buffers in case of double or triple buffering.",25,null],[11,"platform_display","","DEPRECATED. Gets the native platform specific display for this window.\nThis is typically only required when integrating with\nother libraries that need this information.",25,null],[11,"platform_window","","DEPRECATED. Gets the native platform specific window handle. This is\ntypically only required when integrating with other libraries\nthat need this information.",25,null],[11,"get_api","","Returns the API that is currently provided by this window.",25,null],[11,"get_pixel_format","","Returns the pixel format of this window.",25,null],[11,"create_window_proxy","","Create a window proxy for this window, that can be freely\npassed to different threads.",25,null],[11,"set_window_resize_callback","","Sets a resize callback that is called by Mac (and potentially other\noperating systems) during resize operations. This can be used to repaint\nduring window resizing.",25,null],[11,"set_cursor","","Modifies the mouse cursor of the window.\nHas no effect on Android.",25,null],[11,"hidpi_factor","","Returns the ratio between the backing framebuffer resolution and the\nwindow size in screen pixels. This is typically one for a normal display\nand two for a retina display.",25,null],[11,"set_cursor_position","","Changes the position of the cursor in window coordinates.",25,null],[11,"set_cursor_state","","Sets how glutin handles the cursor. See the documentation of `CursorState` for details.",25,null],[11,"make_current","","",25,null],[11,"is_current","","",25,null],[11,"get_proc_address","","",25,null],[11,"swap_buffers","","",25,null],[11,"get_api","","",25,null],[11,"get_pixel_format","","",25,null],[11,"clone","","",26,null],[11,"wakeup_event_loop","","Triggers a blocked event loop to wake up. This is\ntypically called when another thread wants to wake\nup the blocked rendering thread to cause a refresh.",26,null],[11,"next","","",27,null],[11,"size_hint","","",27,null],[11,"next","","",28,null],[11,"size_hint","","",28,null],[11,"next","","",29,null],[11,"size_hint","","",29,null],[11,"get_name","","Returns a human-readable name of the monitor.",30,null],[11,"get_native_identifier","","Returns the native platform identifier for this monitor.",30,null],[11,"get_dimensions","","Returns the number of pixels currently displayed on the monitor.",30,null],[0,"os","","Contains traits with platform-specific methods in them.",null,null],[0,"unix","glutin::os","",null,null],[8,"WindowExt","glutin::os::unix","Additional methods on `Window` that are specific to Unix.",null,null],[10,"get_xlib_window","","Returns a pointer to the `Window` object of xlib that is used by this window.",31,null],[10,"get_xlib_display","","Returns a pointer to the `Display` object of xlib that is used by this window.",31,null],[8,"WindowBuilderExt","","Additional methods on `WindowBuilder` that are specific to Unix.",null,null],[11,"get_xlib_window","glutin","",25,null],[11,"get_xlib_display","","",25,null],[11,"eq","","",14,null],[11,"ne","","",14,null],[11,"clone","","",14,null],[6,"ScanCode","","",null,null],[7,"GL_CORE","","The minimum core profile GL context. Useful for getting the minimum\nrequired GL version while still running on OSX, which often forbids\nthe compatibility profile features.",null,null],[8,"GlContext","","Trait that describes objects that have access to an OpenGL context.",null,null],[10,"make_current","","Sets the context as the current context.",32,null],[10,"is_current","","Returns true if this context is the current one in this thread.",32,null],[10,"get_proc_address","","Returns the address of an OpenGL function.",32,null],[10,"swap_buffers","","Swaps the buffers in case of double or triple buffering.",32,null],[10,"get_api","","Returns the OpenGL API being used.",32,null],[10,"get_pixel_format","","Returns the pixel format of the main framebuffer of the context.",32,null],[11,"fmt","","",15,null],[11,"fmt","","",15,null],[11,"description","","",15,null],[11,"cause","","",15,null],[11,"fmt","","",16,null],[11,"fmt","","",16,null],[11,"description","","",16,null],[11,"eq","","",17,null],[11,"clone","","",17,null],[11,"fmt","","",17,null],[11,"eq","","",18,null],[11,"clone","","",18,null],[11,"fmt","","",18,null],[11,"clone","","",19,null],[11,"fmt","","",19,null],[11,"to_gl_version","","Extract the desktop GL version, if any.",19,null],[11,"eq","","",20,null],[11,"clone","","",20,null],[11,"fmt","","",20,null],[11,"eq","","",21,null],[11,"clone","","",21,null],[11,"fmt","","",21,null],[11,"clone","","",22,null],[11,"fmt","","",22,null],[11,"clone","","",23,null],[11,"fmt","","",23,null],[11,"clone","","",3,null],[11,"fmt","","",3,null],[11,"fmt","","",4,null],[11,"clone","","",4,null],[11,"default","","",4,{"inputs":[],"output":{"name":"pixelformatrequirements"}}],[11,"clone","","",5,null],[11,"fmt","","",5,null],[11,"new","","",5,null],[11,"clone","","",6,null],[11,"default","","",6,{"inputs":[],"output":{"name":"windowattributes"}}],[11,"clone","","",7,null],[11,"map_sharing","","Turns the `sharing` parameter into another type by calling a closure.",7,null],[11,"default","","",7,{"inputs":[],"output":{"name":"glattributes"}}]],"paths":[[3,"Touch"],[3,"HeadlessRendererBuilder"],[3,"WindowBuilder"],[3,"PixelFormat"],[3,"PixelFormatRequirements"],[3,"WindowID"],[3,"WindowAttributes"],[3,"GlAttributes"],[4,"Event"],[4,"TouchPhase"],[4,"ElementState"],[4,"MouseButton"],[4,"MouseScrollDelta"],[4,"VirtualKeyCode"],[4,"NativeMonitorId"],[4,"CreationError"],[4,"ContextError"],[4,"Api"],[4,"GlProfile"],[4,"GlRequest"],[4,"Robustness"],[4,"ReleaseBehavior"],[4,"MouseCursor"],[4,"CursorState"],[3,"HeadlessContext"],[3,"Window"],[3,"WindowProxy"],[3,"PollEventsIterator"],[3,"WaitEventsIterator"],[3,"AvailableMonitorsIter"],[3,"MonitorId"],[8,"WindowExt"],[8,"GlContext"]]}; initSearch(searchIndex);